[Samba] How to get rid off eXecute bit on file creation when using "inherit acls" - Samba 4.6.0
Olaf Frączyk
olaf at navi.pl
Wed Mar 22 17:09:19 UTC 2017
Hi,
Samba 4.6.0.
When using "inherit acls = yes" if I create a file from Windows, the
file has "x" bit set. If I create it from command line on Linux it doesn't.
I want to have Linux behavior, as I don't want to have all files executable.
new_doc_unix.txt is created on Linux
New Text Document.txt is created from Windows
The files created:
[olaf at fileserv a]$ getfacl *
# file: new_doc_unix.txt
# owner: olaf
# group: domain\040users
user::rw-
user:olaf:rwx #effective:rw-
group::---
group:utrzymanie:rwx #effective:rw-
mask::rw-
other::---
# file: New Text Document.txt
# owner: olaf
# group: domain\040users
user::rwx
user:olaf:rwx
group::---
group:domain\040users:---
group:utrzymanie:rwx
mask::rwx
other::---
The parent folder has ACLs:
[olaf at fileserv test]$ getfacl a
# file: a
# owner: olaf
# group: domain\040users
user::rwx
user:olaf:rwx
group::---
group:utrzymanie:rwx
mask::rwx
other::---
default:user::rwx
default:user:olaf:rwx
default:group::---
default:group:utrzymanie:rwx
default:mask::rwx
default:other::---
Best regards,
Olaf
--
NAVI Sp. z o.o.
Promienista 5/1
60-288 Poznań
mobile: +48609769035
phone: +48616622881
fax: +48616622882
http://www.navi.pl
More information about the samba
mailing list