ntfs automatic mount & root permissions
i've just configured an xp/redhat dual boot system on my home pc, and i'm having some newbie problems.
one of which is that i can only read my ntfs drive if i'm logged in as root user. if i login as myself (NWS), then i can't get to the folder because i don't have the "permissions". I've edited my fstab to look like: ------------------------------------------ LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 LABEL=/usr /usr ext3 defaults 1 2 /dev/hda9 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0 /dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 /dev/hdb1 /mnt/xp ntfs ro, umask=000 0 0 -------------------------------------------- The ntfs drive that i want to see is hdb1 on the last line. I've also tried using the lines gid=NWS and uid=NWS, but neither of those options work. Other umask options like the ones described on the ntfs project page do not work either. Can anyone help? |
Try
mount -t nfs yourmachine:/yourshare /mnt/yourshare type nfs (rw,addr=192.168.1.*) or in fstab yourmachine:/yourshare on /mnt/yourshare type nfs (rw,addr=192.168.1.*) Remember that the user must have read/write permissions to the mount point |
Sorry...I totally misread your post - I thought were talking about NFS, not NTFS!
Just make sure the mount point is readable by the user. |
I think it must be the umask option which controls permissions.
http://linux-ntfs.sourceforge.net/info/ntfs.html#4.9 I usually set it to umask=0222 |
Quote:
|
scuzz,
What I mean is that I can only access my ntfs drive if I'm logged in as the root user. None of my other users can get to it, and I want them to be able to. My kernel supports NTFS read cuz I used the NTFS project page to download and install read support for the ntfs drive. |
lacerto,
How do I make sure the mount point is readable by the user? |
i've tried the umask=0222 option and it still doesn't work
|
try the following option in fstab .. it works for me :)
ro,auto,user,exec,umask=0222 |
All times are GMT -5. The time now is 08:42 PM. |