3

i just upgraded my Ubuntu to 12.10 and i noticed that i get this message The location is not a folder whenever i try to access a mounted media (USB or even my other partitions). I am now unable to view content on my usb pendrive or other partitions.

already tried sudo apt-get remove exo-utils with no luck because it says it is not installed.

Can anyone help me?

UPDATE: this workaround seems to work for me https://askubuntu.com/a/204226/59618

psychok7
  • 523

1 Answers1

2

Are you trying to access the device through command line or script that worked with 12.04 and previous versions? They've changed the default mount point for USB devices so you might have to change the way you are doing things slightly to take it into account.

Previously USB devices were accessed at

/media/volume

or

/media/UUID

From now on it looks like these devices will need to be accessed at

/media/username/volume

or

/media/username/UUID

Yep, it's a pain, but I found that inserting $LOGNAME in my scripts seems to be taking care of it quickly and neatly. For example instead of:

cp -nv /var/cache/apt/archives/*.deb /media/${args[0]}/archives/$release/

change to:

cp -nv /var/cache/apt/archives/*.deb /media/$LOGNAME/${args[0]}/archives/$release/

To repair any permissions problems make sure you own the drive and all subdirectories open a terminal window with CtrlAltt and :

sudo chown -R username:username /media/username/volume

such as:

sudo chown -R psychock7:psychock7 /media/psychoc7/BACKUP\ HDD

see if you can cd into the directories or if you get any errors.

cd /media
cd psychock7
cd backup\ hdd
cd dirname

etc.

You can use

ls

to get a directory listing, and use

ls -l

To get a long dirctory listing with extra information such as owner and access rights.

fabricator4
  • 8,471
  • 1
  • 37
  • 39