[Samba] Discard permissions on moving files/folders in a share and inherit the permissions of the new parent directory
elfish at gmx.de
Tue Jul 3 00:13:01 MDT 2012
I'd like to inherit the permissions of a parent folder to file/folder that
is moved into it.
Just like if you copy it. Since the Windows default behaviour is different,
i tried to find out how to change it.
Describes a registry setting to fix my issue.
Sadly this doesn't work for windows 7.
After some googling i found a hotfix by Microsoft, that adds the feature to
After applying the hotfix to my Windows 7 box. I set the registry bit and
tried to move a folder/file.
And guess what? It didn't work. I'm now looking for what i'm doing wrong.
Here's the parent dir's ACL under linux:
# file: test
> # owner: elfish
> # group: elfish
And here are my share settings:
> path = /media/1e35aa75-0b19-4f58-9410-544bb44f8b2c/share
> guest ok = no
> read only = no
> browseable = yes
> inherit acls = yes
> inherit permissions = no
> ea support = no
> store dos attributes = no
> vfs objects = recycle
> recycle:repository = .recycle/%U
> recycle:keeptree = yes
> recycle:versions = yes
> recycle:touch = yes
> recycle:directory_mode = 0777
> recycle:subdir_mode = 0700
> printable = no
> create mask = 0755
> force create mode = 0644
> directory mask = 0755
> force directory mode = 0755
> hide dot files = yes
> valid users = shareguest, at sharepub, at sharepriv
> invalid users =
> read list =
> write list = shareguest, at sharepub, at sharepriv
Anyone got an idea whats wrong?
Thanks in advance!
More information about the samba