Page 1 of 1

Permissions not inheriting to files and folders in Linux mint

Posted: Mon Feb 12, 2018 11:18 am
by khanyasi
We are using Linux mint with ext4 file system mounted with acl option, I want to set a folder such that anything created within it directories or files inherit default permissions and group = 775, I have applied setfacl with options (-R -d -m ugo:rwx)i also tried changing user umask 0002 but still files being created as 644 can someone please help me with this thanks.

Re: Permissions not inheriting to files and folders in Linux mint

Posted: Mon Feb 12, 2018 12:49 pm
by altair4
I have never used acl's to do this opting for using a setgid instead but this part of your post is of interest:
i also tried changing user umask 0002
The default umask in Mint 18 is already at 0002.

The default umask in Mint 17 and earlier is 0022 because of a bug in the display manager ( that is not a typo ) Mint used. If you are using Mint 17 or earlier try this workaround to set the umask to 0002 and see if it resolves your issue: Resetting Mint's Default umask to 002

Re: Permissions not inheriting to files and folders in Linux mint

Posted: Tue Feb 13, 2018 3:25 pm
by khanyasi
I have already setup umask to 0002 but no its not helping