View previous topic :: View next topic |
Author |
Message |
MrOnion n00b
Joined: 17 Nov 2002 Posts: 24
|
Posted: Fri Dec 27, 2002 9:42 pm Post subject: Non root can't access vfat partition after emerge -u world |
|
|
I recently performed an "emerge -u world" and it all seemed to go well. I stayed with my computer on for a few hours and everything seemed fine.
I turned on my computer today adn everything runs fine except now my two vfat partitions are no longer readable by users other than root.
cd /win/d (as user) : 'sh: cd: /win/d/: Permission denied'
when /win/d is mounted:
ls -l gives:
drwxr--r-- .....blah...... d
when /win/d is not mounted:
ls -l gives:
drwxr-xr-x .....blah...... d
/etc/fstab (line for the vfat partition):
/dev/hda5 /win/d vfat defaults 0 0
I'm really lost here, I have no idea why this has happened so any help is greatly appreciated.
Thanks
Ryan Jones
P.S. I didn't know where to put this but as i had just run emerge -u world i thought this was a good as place as any. Feel free to move. |
|
Back to top |
|
|
sirtoast n00b
Joined: 06 May 2002 Posts: 72 Location: Halifax, NS
|
Posted: Sat Dec 28, 2002 1:15 am Post subject: |
|
|
I had to add defaults,umask=022 to /etc/fstab as per below entries. I'm not sure why it happened, but this was the immediate fix presented when I searched the forums a couple weeks ago, when it happened to me.
Code: |
/dev/hdb1 /mnt/albums vfat defaults,umask=022 0 0
/dev/hdb2 /mnt/singles vfat defaults,umask=022 0 0
|
_________________ Toast
http://toastnet.org |
|
Back to top |
|
|
MrOnion n00b
Joined: 17 Nov 2002 Posts: 24
|
Posted: Sat Dec 28, 2002 11:35 pm Post subject: |
|
|
YAY
Thanks very much for the help.
I guess I should get better at searching as i did try but my search didnt seem to return any relevant results.
Still wondering why this happened tho. |
|
Back to top |
|
|
|