LinuxQuestions.org
Visit Jeremy's Blog.
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 05-23-2007, 12:51 PM   #1
sanctusiuda
LQ Newbie
 
Registered: May 2007
Posts: 7

Rep: Reputation: 0
Edit fstab to give read only permissions to users


Hi, i have a question, probably very newbie, anyway i need to access to my ntfs partition were i have stored some text documents, music and videos from my user account, y try to edit the fstab file adding the user option, but seems like not working, so that's my question i have two hard disk one of them is SATA and the other is IDE the two hard disk mount in MNT as C and E folder I using the automount on startup, how i should to edit the fstab file, or you have any other idea, Thanks.
 
Old 05-23-2007, 01:10 PM   #2
jaymoney
Member
 
Registered: Mar 2006
Location: Cincinnati, OH
Distribution: Ubuntu 8.10, Xubuntu 8.04, Fedora 10
Posts: 87

Rep: Reputation: 16
have you added ntfs support by installing ntfs-3g? what distro are you using? in fstab you set permissions with umask.

ex:
umask=0000 (that is full permission to everyone)
umask=0007 (full permission to owner and group, denies everyone else)

Last edited by jaymoney; 05-23-2007 at 01:56 PM.
 
Old 05-23-2007, 05:37 PM   #3
sanctusiuda
LQ Newbie
 
Registered: May 2007
Posts: 7

Original Poster
Rep: Reputation: 0
yes I have ntfs-3g, but i haven't tried the umask oh, let me see if this works thank you very much
 
Old 05-23-2007, 10:52 PM   #4
sanctusiuda
LQ Newbie
 
Registered: May 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Solved! that's was the problem umask=0000 it was in umask=2020 the permissions. Thanks
 
  


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
Cannot edit fstab in recovery mode. Filesystem is read only james7775 Linux - General 30 02-05-2017 10:55 AM
wish to edit but fstab is read only obay Linux - Newbie 3 07-29-2006 04:25 PM
How to give a drive write access to all users in FSTAB? (ext3) jon_k Linux - Software 2 12-19-2004 10:46 PM
Getting my fstab to give proper permissions Esmo2000 Linux - Newbie 3 11-10-2004 01:21 PM
fstab nightmare: how to give users access to ext3 partition? ianunderwood Linux - General 5 11-21-2003 07:00 PM


All times are GMT -5. The time now is 11:55 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration