[Pkg-samba-maint] Bug#396226: samba Messes up file permissions

Geoff Crompton geoff.crompton at strategicdata.com.au
Tue Jan 9 05:07:54 CET 2007


I'm also having this problem.

Package: samba
Version: 3.0.14a-3sarge2

in my case, using ext3:
/dev/sda2 on /var/local type ext3 (rw,noatime,acl,user_xattr)

I've got the following global samba settings:
inherit acls = yes
ea support = yes
map acl inherit = yes
nt acl support = yes


And for that share I've got the following share specific settings:
[company]
comment = Company Files
path = /var/local/company
guest ok = No
browseable = Yes
read only = No
valid users = @users, root
invalid users = dataentry
directory mask = 0775
create mask = 0775
force group = users
admin users = root
nt acl support = yes


I can confirm that I get the same weird behaviour, ie what John Goersen
said:
  > When a user that is someone other than the Unix owner of the file
  > writes to it, the permissions switch to 0474 (-r--rwxr--) and an ACL
  > is added with this second user getting read/write permission to it.

-- 
Geoff Crompton
Debian System Administrator
Strategic Data
+61 3 9340 9000




More information about the Pkg-samba-maint mailing list