Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a ntfs disk which used to get mapped to media/A6505A54505A2B11_/. There was also a directory media/A6505A54505A2B11/.

Then all of a sudden it started to get mapped to media/my_name/A6505A54505A2B11/. The directories media/A6505A54505A2B11/ and media/A6505A54505A2B11_/ still exist but I have 'access denied' whenever I want to browse them.

What happened and how do I make it sure that this disk will be mapped only to the certain directory?

share|improve this question
    
In the newer versions of Ubuntu the drives get mounted according to your name, and thus only you can read/write to them. Try using gksudo nautilus from ALT+F2. That will open up a root explorer that you can use to view what is in side of media/A6505A54505A2B11_/. If it is empty (be sure to check for hidden folders/files with CTRL+H), you can delete it. It is most likely just an old mount point that isn't used anymore. –  DaboRoss Jun 10 '13 at 6:07
    
Do you have any objections to mounting them to /media/name/drive? If you do want them to be mounted to a different point then you can edit the fstab, I will post an answer soon explaining how to do that. –  DaboRoss Jun 10 '13 at 6:08
    
@DaboRoss after rebooting the computer, it again point the old location without user name. –  Alan Dert Jun 12 '13 at 16:50
    
Do you have a fstab entry for the device? –  DaboRoss Jun 15 '13 at 1:23
    
@DaboRoss Now - yes, but when it happened I didn't have it. –  Alan Dert Jun 15 '13 at 3:56
add comment

1 Answer 1

up vote 3 down vote accepted

With the new versions of Ubuntu, the mounting points also use the username, so for example, my user is cyrex and my previous mount point was /media/xtreme. It now has become /media/cyrex/xtreme. If you want to force the system to mount that specific partition to your previous place then I recommend reading answers like this one which mention editing the fstab file and adding the appropriate information to mount a partition in a specific place.

I recommend consulting the manual: man fstab.

An example (Do not apply this) would be:

   /dev/sdb1      /media/A6505A54505A2B11   ext4   defaults   0   0

This would mount the sdb1 device in /media/A6505A54505A2B11 with several parameters like assuming it has an ext4 filesystem.

share|improve this answer
    
after rebooting the computer, it again point the old location without user name. –  Alan Dert Jun 12 '13 at 16:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.