LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-08-2012, 08:31 AM   #1
Eerie
LQ Newbie
 
Registered: Mar 2012
Distribution: Slackware 13.37 32-bit/win 7
Posts: 17

Rep: Reputation: Disabled
fmask dmask for ntfs-3g


I'm trying to set-up my windows media partition so that everyone can access it and play media, but only root can make changes.

ie. I desire:
Code:
drwx-r-x-r-x
In my fstab it currently looks like this:
Code:
/dev/sda1        /win1            ntfs-3g     fmask=177,dmask=077 1   0
and the permissions look accordingly:
Code:
drwx--------
 
Old 06-08-2012, 12:16 PM   #2
maccas17
Member
 
Registered: May 2010
Location: UK
Distribution: RHEL6
Posts: 70

Rep: Reputation: 11
I think you mean:

Code:
drwxr-xr-x
Try adding the following to your fstab:

Code:
/dev/sda1        /win1            ntfs-3g     umask=022 1   0
The two entries you have are removing read write access for everybody except the owner.

You can create user mappings with the NTFS-3G driver between Windows and Linux to give you some flexibility in managing permissions at a more granular level. Have a look at:

http://b.andre.pagesperso-orange.fr/usermap.html

Hope this helps.
 
  


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
dmask=,fmask=,umask= ARGHHHHHHH mickboda Linux - General 3 02-21-2019 06:17 AM
default fmask, dmask, umask Nick_C Linux - General 2 05-14-2012 10:53 AM
[SOLVED] mount ntfs with fstab dmask=027,fmask=137 but no write access menthor Debian 3 01-29-2012 04:56 PM
HAL and fmask dmask in automounting ntfs-3g drives duryodhan Slackware 2 09-23-2008 02:42 PM
umask,dmask,fmask mmm Linux - General 1 08-14-2003 12:29 AM

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

All times are GMT -5. The time now is 07:26 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