LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-06-2003, 12:51 AM   #1
linuxthree
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, 05:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

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

Rep: Reputation: 50
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, 12:47 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try puting "user" not "users" in column 4.
 
Old 04-06-2003, 08:52 PM   #5
JayCnrs
Member
 
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 08:55 PM.
 
  


Reply



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 04:26 AM
slackware 10.. root user only gets read only access gtan Slackware 2 09-25-2004 07:51 AM
NFS non root read write access matthewkeen Linux - Networking 8 09-09-2004 10:52 PM
do not read this post plz i only need some more posts fallenangelseth Linux - Newbie 2 07-23-2004 02:01 AM
kernel panic unable to mount root (yes ive read/read other posts) dmx9595 Linux - General 4 01-17-2004 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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