View previous topic :: View next topic |
Author |
Message |
mike_c Tux's lil' helper
Joined: 09 Dec 2003 Posts: 76
|
Posted: Sat Oct 02, 2004 10:41 pm Post subject: fstab problem |
|
|
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 |
|
|
patrickbores Apprentice
Joined: 19 May 2003 Posts: 276 Location: Minneapolis, MN, USA
|
Posted: Sat Oct 02, 2004 10:47 pm Post subject: |
|
|
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 |
|
|
c.graves n00b
Joined: 03 Jan 2004 Posts: 24 Location: San Jose, California, USA
|
Posted: Sat Oct 02, 2004 10:47 pm Post subject: |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Sat Oct 02, 2004 11:05 pm Post subject: |
|
|
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 |
|
|
werew0lf n00b
Joined: 27 Jun 2004 Posts: 45 Location: Belgium
|
Posted: Sun Oct 03, 2004 9:01 am Post subject: |
|
|
You just need noatime,ro,umask=000 |
|
Back to top |
|
|
|