Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounting with user access
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
shaumux
l33t
l33t


Joined: 13 May 2005
Posts: 996
Location: Bangalore, India

PostPosted: Tue May 31, 2005 5:51 pm    Post subject: Mounting with user access Reply with quote

Hi
i wanna mount my win partitons in gentoo but am not able to that only root is able to access the mounted partitions.
i tried to change the permissions frm root but that failed.
can somebody tell me how to let other accounts access the stuff on oother partitions too which i manually mount.
plz hlp
THNKS
Back to top
View user's profile Send private message
oregonshoegazer
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2002
Posts: 84

PostPosted: Tue May 31, 2005 5:54 pm    Post subject: Reply with quote

if i'm not mistaken, i think you change these settings in your /etc/fstab. the handbook should probably have info on how to do it.
Back to top
View user's profile Send private message
shaumux
l33t
l33t


Joined: 13 May 2005
Posts: 996
Location: Bangalore, India

PostPosted: Tue May 31, 2005 5:58 pm    Post subject: Reply with quote

Well its not just fstab i tried with mount too but the normal users cant access it.
Do i have to add them to some group.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3789
Location: sleeping in the bathtub

PostPosted: Tue May 31, 2005 6:06 pm    Post subject: Reply with quote

Try adding umask=666 to the mount options?
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
rusty
Apprentice
Apprentice


Joined: 07 May 2004
Posts: 181
Location: St.Louis

PostPosted: Tue May 31, 2005 6:10 pm    Post subject: Reply with quote

umask=000, to be exact. if i'm not mistaking, 666 would give everyone exec permissions, but not read-write.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3789
Location: sleeping in the bathtub

PostPosted: Tue May 31, 2005 6:17 pm    Post subject: Reply with quote

rusty wrote:
umask=000, to be exact. if i'm not mistaking, 666 would give everyone exec permissions, but not read-write.

Huh. I thought it was like with standard unix file permssion, where 4 is for read access, 2 for write and 1 for execute, so 6 = 4 + 2 = read + write.

I guess I'm missing exactly how umask works.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
rusty
Apprentice
Apprentice


Joined: 07 May 2004
Posts: 181
Location: St.Louis

PostPosted: Tue May 31, 2005 6:24 pm    Post subject: Reply with quote

Hopeless wrote:
I thought it was like with standard unix file permssion, where 4 is for read access, 2 for write and 1 for execute, so 6 = 4 + 2 = read + write.


You are right about permissions, but umask is a "mask", i.e. its value is 7 - permissions.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue May 31, 2005 6:45 pm    Post subject: Reply with quote

Please see this FAQ: https://forums.gentoo.org/viewtopic-t-29285.html

Moved from Other Things Gentoo.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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