NS7 AD Recycle Bin

I didn’t find a way to set specific permissions for the recycle bin in samba docs. I think it’s intended to work in a way for users to get back their deleted files themselves.

In /etc/e-smith/templates/etc/samba/smb.conf/ibay-default/01vfs_recycle you find the settings for the recycle bin. You need to create a custom template from it and adjust it to your needs.

As a workaround you may hide the directory by changing samba config to create “.recycle” instead “Recycle Bin”.

repository => ".recycle"

Or maybe change permission for existing recycle bin directories with a cron script?

1 Like