I've set up a windows share for multi user access with defined Acl using the webui.
I've also ticked the "use a trash/recyclebin" option in the share.
I've also ticked the "inherit acl" option and the multi user one, to keep my Acl working.
All the rights i've set were working really nice so far until it comes to this ./recycle bin.
Typically i've created an admin user owning everything in the share with RWX + a group lets call it "TRASHMEMBERS" owning this recycle bin with RWX, while its only WX for others. (dont want people to access certain files but still want them to be able to delete and send it to the recycle bin)
What's happening so far is the user who deletes a file that he created, then automatically get the ownership of his file and it become impossible for the groupmembers of "TRASHMEMBERS" to delete it/recover it even though they have every rights on the parent folder (recyclebin).
Also i tried to desactivate the treelike (keeptree = yes) in smb.conf and setting it with "no" doesnt change anything.
Btw it seems the /etc/samba/smb.conf file is getting overwritten after any webui change/restart.
Here's is a look at the smb.conf :
So lets say i have user "admin" owner of everyfiles, group "TRASHMEMBERS" owning the ./recycle directory, if my user John deletes a file, it's actually going in the ./recycle directory as : owner = John, groupowner = users and that sucks
Any help pls?