Permissions Problem, External Drive

Asked by David Vincent-Jones

I have formatted an external drive and used it to backup part of my system to a file
/media/disk/backup.img

I now find that I have no permissions into the drive. The file appears to be correctly in place
All the permissions for the drive are now set to 'read only'

david@david-laptop:~$ cd /media
bash: cd: /media: Permission denied

David

Question information

Language:
French Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Vojtěch Trefný
Solved:
Last query:
Last reply:
Revision history for this message
Best Vojtěch Trefný (vojtech.trefny) said :
#1

With command 'ls -g /media' find out who is owner of the directory (you can find out it also via nautilus - right click on directory, properties). If you just change permissions, if root use this: 'sudo chown -R username /media/disk' (username = your username).

Revision history for this message
David Vincent-Jones (davidvj) said :
#2

Thanks for the support: This is the results to date.

Things appear to be getting worse:

david@david-laptop:~$ sudo ls -g /media
[sudo] password for david:
total 12
drwx------ 2 root 4096 2008-01-14 12:22 Backup Disk TWO
lrwxrwxrwx 1 root 6 2007-12-22 04:23 cdrom -> cdrom0
drwx------ 2 root 4096 2007-12-22 04:23 cdrom0
drwxrwxrwx 3 root 4096 2008-01-19 09:14 disk
david@david-laptop:~$ sudo chown -R david /media/disk
david@david-laptop:~$ sudo chown -R david /media
david@david-laptop:~$ sudo ls -g /media
total 12
drwx------ 2 root 4096 2008-01-14 12:22 Backup Disk TWO
lrwxrwxrwx 1 root 6 2007-12-22 04:23 cdrom -> cdrom0
drwx------ 2 root 4096 2007-12-22 04:23 cdrom0
drwxrwxrwx 3 root 4096 2008-01-19 09:14 disk

Total 'access denied' at this point.

David

Revision history for this message
David Vincent-Jones (davidvj) said :
#3

Thanks ... looks like the problem is now solved thanks to your much appreciated help.

David