Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-06-2003, 01:51 AM   #1
LQ Newbie
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0
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
Old 04-06-2003, 06:20 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
yeah that's right, just set it to 000 or 002 for read only
Old 04-06-2003, 01:34 PM   #3
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
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. . .
Old 04-06-2003, 01:47 PM   #4
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try puting "user" not "users" in column 4.
Old 04-06-2003, 09:52 PM   #5
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
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.

Last edited by JayCnrs; 04-06-2003 at 09:55 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Read and write USB device with non-root access halfzware_shag Linux - Hardware 3 10-11-2004 05:26 AM
slackware 10.. root user only gets read only access gtan Slackware 2 09-25-2004 08:51 AM
NFS non root read write access matthewkeen Linux - Networking 8 09-09-2004 11:52 PM
do not read this post plz i only need some more posts fallenangelseth Linux - Newbie 2 07-23-2004 03:01 AM
kernel panic unable to mount root (yes ive read/read other posts) dmx9595 Linux - General 4 01-17-2004 06:07 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration