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.
While not an exact duplicate your question seems very similar to this one : https://askubuntu.com/questions/642236/how-to-make-the-newly-created-files-inherit-the-directorys-permissions
Hopefully the answer there is applicable to your problem also, let me know
This is the normal behavior of Linux Mint and some users consider it as a bug.
As a workaround, you can create a new script:
echo "umask 002" > /etc/profile.d/umask.sh
This will set the umask when you login.
Can you please check this U&L answer? I'd try and run that code:
bash -x -l -i -c 'exit' 2>&1 | grep ' umask '
to verify that umask is configured correctly.