leona
April 8th, 2009, 07:41 PM
Hi There
I do not know if this is expected behavour, but I have recently been having trouble with external drives, usb sticks, FAT32 drives etc.
Basically it keeps telling me I don't have permission to access them, when I look at the directories in /media they are all 'root' as user and group, why is this? is it right? if not, how do I correct it? I need everyone to be able to access these drives. I don't know why it worked one day then didn't the next, I don't understand why things change without me doing anything.
The drives are ok, if I load a terminal window and log in as root I can access them fine, so all the data and drives are ok, but no users can see them.
32 drwx------ 38 root root 32768 1970-01-01 01:00 DATA
4 drwxr-xr-x 2 root root 4096 2008-05-26 16:13 cdrom0
0 lrwxrwxrwx 1 root root 6 2008-05-26 16:13 cdrom -> cdrom0
4 drwxr-xr-x 2 root 999 4096 2008-05-26 16:13 floppy0
0 lrwxrwxrwx 1 root 999 7 2008-05-26 16:13 floppy -> floppy0
4 drwx------ 2 root root 4096 2008-06-02 07:57 SD2GIG
4 drwxrwxrwx 8 root root 4096 2009-04-02 17:48 disk
As you can see 'DATA' (FAT32 Partition) & SD2GIG (pen drive) is only accessible by root, had the same problem with 'disk' (removable hard drive) so I 'fudged' that with su root chmod 777 disk, but that isn't working for 'DATA' and I don't know why, I am sure I am not supposed to do it like this, but I know no other way to fix the problem.
I need to ensure that any connected to my machine is viewable by all users, having it stuck to root is of no use to me.
Thank you
Leona.
I do not know if this is expected behavour, but I have recently been having trouble with external drives, usb sticks, FAT32 drives etc.
Basically it keeps telling me I don't have permission to access them, when I look at the directories in /media they are all 'root' as user and group, why is this? is it right? if not, how do I correct it? I need everyone to be able to access these drives. I don't know why it worked one day then didn't the next, I don't understand why things change without me doing anything.
The drives are ok, if I load a terminal window and log in as root I can access them fine, so all the data and drives are ok, but no users can see them.
32 drwx------ 38 root root 32768 1970-01-01 01:00 DATA
4 drwxr-xr-x 2 root root 4096 2008-05-26 16:13 cdrom0
0 lrwxrwxrwx 1 root root 6 2008-05-26 16:13 cdrom -> cdrom0
4 drwxr-xr-x 2 root 999 4096 2008-05-26 16:13 floppy0
0 lrwxrwxrwx 1 root 999 7 2008-05-26 16:13 floppy -> floppy0
4 drwx------ 2 root root 4096 2008-06-02 07:57 SD2GIG
4 drwxrwxrwx 8 root root 4096 2009-04-02 17:48 disk
As you can see 'DATA' (FAT32 Partition) & SD2GIG (pen drive) is only accessible by root, had the same problem with 'disk' (removable hard drive) so I 'fudged' that with su root chmod 777 disk, but that isn't working for 'DATA' and I don't know why, I am sure I am not supposed to do it like this, but I know no other way to fix the problem.
I need to ensure that any connected to my machine is viewable by all users, having it stuck to root is of no use to me.
Thank you
Leona.