LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   only root can access ntfsdrive. plz help, i've read previous posts... (https://www.linuxquestions.org/questions/linux-newbie-8/only-root-can-access-ntfsdrive-plz-help-ive-read-previous-posts-53648/)

linuxthree 04-06-2003 12:51 AM

only root can access ntfsdrive. plz help, i've read previous posts...
 
ok i just installed mandrake 9.1 -dualboot-and am able to view (and execute) files on my ntfs winxp partition with root user, but not regular users. i followed advice on previous posts, but nothing is working. i tried chmod and that is apparently wrong????
this is the entry for the drive currently in fstab:

/dev/hda1 /mnt/windows ntfs umask=007,users,exec,dev,suid,ro,iocharset=iso8859-1 0 0

another post said to use umask=007, i'm not sure but i think think this makes sense, b/c it would set rwe permissions for everybody?
it also suggested adding "gid=X" and "uid=X" entries, should I try this? how do i figure out the value for each?
thanx for any help you guys can give me

acid_kewpie 04-06-2003 05:20 AM

yeah that's right, just set it to 000 or 002 for read only

moses 04-06-2003 12:34 PM

The umask you are using is incorrect. With 007, you limit access to just the user and group the device is mounted by. This means (by default) user=root group=root. This won't work if you want others to have access to the filesystem. Try 002. I guess acid has already stated as much. . .

david_ross 04-06-2003 12:47 PM

Try puting "user" not "users" in column 4.

JayCnrs 04-06-2003 08:52 PM

Yes the 7 at the end of the umask means no access for anybody who is not part of the user and group. a umask=000 should give everybody rwe access to ntfs. umask works opposite to chmod, so with chmod 777 everybody has access, umask 000 is the same.

Have you been writing to your NTFS partition, if so I was wondering if you had any problems with the XP partition.


All times are GMT -5. The time now is 07:50 PM.