I'm trying to create a file from windows on a mapped samba share, but after creating the file, I'm unable to edit it. For some reason the mask is changing to rw- even though my default is set to rwx. umask is 0022, but I think the ACL overrides the umask.Is something wrong with the permissions of the folder? I want bob and admins to have rwx to files.[root@server02 folder]# getfacl .# file: .# owner: nobody# group: admins# flags: -s-user::rwxuser:bob:rwxgroup::---group:admins:rwxmask::rwxother::rwxdefault:user::rwxdefault:user:bob:rwxdefault:group::---default:group:admins:rwxdefault:mask::rwxdefault:other::rwx[root@server02 folder]# getfacl test# file: test# owner: bob# group: adminsuser::rwxuser:bob:rwx               #effective:rw-group::---group:admins:rwx      #effective:rw-mask::rw-other::---
New files getting wrong permissions from setacl
permissions;samba;acl