Open MFlyer opened 8 years ago
Hi, samba recycle bin can be on a per share basis or like a global param (having only one recycle bin).
Considering Rockstor nature (btrfs nas) - imho - better to have recycle bins defined on a per share basis (1 common recycle byn would require defining where to have it: on Rockstor root?? i don't like this idea; on a random btrfs share?? noo)
Hi @schakrava , hoped to have this before next stable, but having some tests made me decide for a longer testing, here my reasons: testing over a Rockstor integrated in an AD environment found a strange behavior and some minor checks required (ex. : on a Rockstor share creation we set owner and group, new files&folders samba share to that share don't inherit permissions on creation - thought it was already ok). Having a recycle bin non accessible from users?? Ok, let's have it 200 (only write perm for owner)...no, samba recycle bin requires x too, so 300 :confused:
Addendum: our samba shares config currently missing, so pool/share acl not inherited
inherit owner = yes
inherit acls = yes
Every user should set it, but we could do it to, do you agree on having #1481 issue?
Reference to this forum thread.
User davioxx asking for samba recycle bin (https://www.samba.org/samba/docs/man/manpages/vfs_recycle.8.html) available in Rockstor Web UI (user friendly version, 0 lines custom params code conf) Shares recycle bin tasks list: