LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-20-2008, 12:49 PM   #1
hungrigerhaifisch
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 91

Rep: Reputation: 15
Question NTFS access settings - All files executable?![solved]


I've for quite a long time have been having problems accessing ntfs partitions, until I found a way that works. I can read/write and execute files on my ntfs partion, through the ntfs3g driver.
However, as a sideeffect, all files on the partion are marked as executable, which is not what I want.
This is my fstab line:
Code:
/dev/hdb1 	/mnt/drive_d    ntfs-3g users,exec,locale=en_GB.utf8,umask=022,uid=1000,gid=1000
Obviously this is down to the umask=022.
So I ask, which umask is correct, when I want read/write support + executable files?
I've googled long and hard, and all I ever find are confusing posts and references to man umask, which I do not find helpful.

Anyone??

UPDATE:
Replace "umask=022" with "fmask=133,dmask=022", that should give you what you're looking for.

Last edited by hungrigerhaifisch; 09-20-2008 at 08:06 PM. Reason: SOLVED
 
Old 09-21-2008, 06:19 AM   #2
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
BTW
http://slackwiki.org/NTFS-3G#Using_.2Fetc.2Ffstab
 
  


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
How to access my Win2000 NTFS files? StefanP Linux - Newbie 1 04-21-2007 12:56 PM
Unable to access certain files on NTFS share Ashrack Linux - General 23 07-01-2006 07:26 AM
Mount NTFS so that files are not executable buts directories are nasty_daemon Slackware 6 09-20-2005 01:51 AM
Changing NTFS files from executable Odd_Bloke Linux - Newbie 1 08-29-2003 08:24 PM
ntfs mounted but I cant access the files Boom Linux - Newbie 1 01-10-2003 12:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:11 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
Open Source Consulting | Domain Registration