Page 1 of 1

filesystem permissions

Posted: Mon Aug 06, 2012 3:41 pm
by milo7
Hey there :)

Got a question about the permissions of my ntfs disks..
Got one disk which is ext4, everybody has full permission (Owner, group, others)
UUID=xxxxxxxxxxxxxxxx /var/hda/files/drives/drive5 ext4 defaults 1 2

Now one of the ntfs disks:
/var/hda/files/drives/drive7 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=1000,gid=130,noatime 1 2
Permissions: 777 Owner, 777 group, 775 others

what do I have to change in fstab to get 777 for others, too? Do I have to leave the fmask and dmask and use umask instead? Dont get it...
Thanks

Re: filesystem permissions

Posted: Tue Aug 07, 2012 4:51 am
by sgtfoo
before we answer anything, I gotta do this..

http://forums.amahi.org/search.php?keyw ... mit=Search

then I must also add that it doesn't make sense that you have an ntfs ext4 share. Both are file systems that don't inter-operate on the same partition... so which is it? I would guess ext4 as you're talking about permissions quartets

Re: filesystem permissions

Posted: Tue Aug 07, 2012 1:32 pm
by milo7
Thank's for answering sgtfoo,

think I've got to explain it more precisely..
We are not talking about the same partition, neither the same disk. We are talking about two different disks. One I've mounted and formatted it with ext4, on this one following permissions are set: 777 Owner, 777 group, 777 others.

The other one is a ntfs disk with data on it. As I mounted it, I had no permissions. Had to change the uid and the gid in fstab to get access. The prob is that the permissions now are set as following: 777 Owner, 777 group, 775 others
Others don't have full access, they have full access to disks 777, folders 777, files 775, which I would like to change to 777.
The fstab entry: /var/hda/files/drives/drive7 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=1000,gid=130,noatime 1 2

What do I have to change to get also full access for "others" ? Tried it with gksudo nautilus, but it doesn't change anything, therefore I thought it would be the best to change it in fstab.
Read that the fmask has to do with the file access, just did'nt find out how the numbers have to be changed...

Also thanks for the links to share permissions, unfortunately I didn't find my answer. For somebody who has a glue how that stuff is working, it must be pretty easy (changing fmask=0113 to fmask=0777, just an example)
Please keep in mind that I am a Newbie, working 17 years with win and got my first unix install managed (was a pretty new experience, thanks to bigfoot) ;)