Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fstab problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mike_c
Tux's lil' helper
Tux's lil' helper


Joined: 09 Dec 2003
Posts: 76

PostPosted: Sat Oct 02, 2004 10:41 pm    Post subject: fstab problem Reply with quote

hi

I want to mount my windows partition (/dev/hda1) to some location

the problem is that on boot its being given permissions only for root. i want to be able to access it with a non root user

here is the line from /etc/fstab that mounts it
its exactly what i have for /dev/hda3 which has my main linux partition, and there are no permission errors from my normal user when i try to access /

Code:

/dev/hda1               /c              ntfs            noatime                 0 1


i'm confused

help appreciated

Mike
Back to top
View user's profile Send private message
patrickbores
Apprentice
Apprentice


Joined: 19 May 2003
Posts: 276
Location: Minneapolis, MN, USA

PostPosted: Sat Oct 02, 2004 10:47 pm    Post subject: Reply with quote

Try adding this to the options:

uid=theusername,gid=thegroupname

HTH,

Patrick
_________________
P.S. - this is what part of the alphabet would look like if Q and R were eliminated.
Back to top
View user's profile Send private message
c.graves
n00b
n00b


Joined: 03 Jan 2004
Posts: 24
Location: San Jose, California, USA

PostPosted: Sat Oct 02, 2004 10:47 pm    Post subject: Reply with quote

try adding rw, uid, and gid options to the entry. Here's a very similar snip from my fstab.
Code:
/dev/hda1               /windows/C      ntfs            noauto,rw,uid=cgraves,gid=users 0 0


also, between `man fstab` and `man mount` all the specifics of this sort of thing are explained. Hope that helps.
_________________
cheers,
-c
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


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

PostPosted: Sat Oct 02, 2004 11:05 pm    Post subject: Reply with quote

Also look at umask - it sets the permissions of the files on the partition. Have a look at this from the FAQ forum: https://forums.gentoo.org/viewtopic.php?t=29285
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
werew0lf
n00b
n00b


Joined: 27 Jun 2004
Posts: 45
Location: Belgium

PostPosted: Sun Oct 03, 2004 9:01 am    Post subject: Reply with quote

You just need noatime,ro,umask=000 :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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