Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Non root can't access vfat partition after emerge -u world
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
MrOnion
n00b
n00b


Joined: 17 Nov 2002
Posts: 24

PostPosted: Fri Dec 27, 2002 9:42 pm    Post subject: Non root can't access vfat partition after emerge -u world Reply with quote

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
View user's profile Send private message
sirtoast
n00b
n00b


Joined: 06 May 2002
Posts: 72
Location: Halifax, NS

PostPosted: Sat Dec 28, 2002 1:15 am    Post subject: Reply with quote

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
View user's profile Send private message
MrOnion
n00b
n00b


Joined: 17 Nov 2002
Posts: 24

PostPosted: Sat Dec 28, 2002 11:35 pm    Post subject: Reply with quote

YAY :D

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum