LinuxQuestions.org
Help answer threads with 0 replies.
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 11-10-2004, 11:05 AM   #1
Esmo2000
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
Getting my fstab to give proper permissions


Hi everyone:

I'm on a fedora core 2 distro and i was trying to get access to my NTFS partition for a non root user.

The mount works fine and all, however, i don't get permissions (I know it works fine because i can browse around in root mode).

I have this in my fstab:

/dev/hda1 /mnt/Windows ntfs rw, users 0 0

Help would be greatly appreciated!
 
Old 11-10-2004, 11:22 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Try to add umask=0002 (for 0775 permissions):

Code:
/dev/hda1 /mnt/Windows ntfs umask=0002,rw,users 0 0
 
Old 11-10-2004, 11:33 AM   #3
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
hi,
---------
/dev/hda1 /mnt/Windows ntfs umask=0002,rw,users 0 0
---------

i think that should be :
---------
/dev/hda1 /mnt/Windows ntfs umask=222,ro,users 0 0
---------

it's not safe to write to a ntfs part. ( yet )
( it' s also mostly not supported anyway.... )

egag
 
Old 11-10-2004, 12:21 PM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
This will set the permissions to 555 (no write access for anyone), which makes sens if you mount the partition ro. I didn't dare to change what Esmo2000 planned to do, since I have heard amazing stories about NTFS write access, which I do not believe, but as long as I havn't tried it myself, I'd better be quiet (see http://www.linuxquestions.org/questi...hreadid=252824 )

But I can say for sure: what I know about NTFS write access is, that it is safe in 2.6 kernels (but I wouldn't call it write access).
 
  


Reply


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
Proper umask settings for /etc/fstab? stefanlasiewski Linux - General 6 06-05-2009 06:27 PM
How to give a drive write access to all users in FSTAB? (ext3) jon_k Linux - Software 2 12-19-2004 09:46 PM
How do I set up proper drive permissions (fstab reamins static despite all mounts) Lechium Linux - Hardware 9 07-03-2004 09:33 AM
Proper use of permissions ? wmcase Linux - General 4 02-04-2004 03:41 PM
'Proper' file and directory permissions etherdeath Linux - General 5 03-02-2003 03:24 AM


All times are GMT -5. The time now is 12:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration