[Samba] prevent clients from permission changes
Reindl Harald
h.reindl at thelounge.net
Tue Nov 29 11:39:57 UTC 2016
it makes me sick for years when i say "inherit" in the global
configuration i mean "inherit"
in fact a folder has owner/group permissions to allow group write acess
and clients are able to change them for new files/folders
currently when someone creates files on a windows desktop they end up
with "-rwxr--r--+" even if the owner folder has 2777
why can't samba just ignore all "set permission" requests from clients
when "interit permissions" is enabled wihtout answering with a error so
the client shuts up and is happy?
[global]
inherit permissions = yes
inherit acls = yes
nt acl support = no
browseable = yes
writeable = yes
[storge]
path = /mnt/storage
valid users = @afp-storage-ro, @afp-storage-rw, @afp-operators
write list = @afp-storage-rw, @afp-operators
read list = @afp-storage-ro
More information about the samba
mailing list