How to active recycle bin

rockstor doesn’t have recycle bin choise. I activate it manually. But we need on Web interfaces.

I’ll manuel active.
/etc/samba/smb.conf
add any share data.

vfs object = recycle
recycle:repository = /mnt2/…/.recycle
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = yes
recylce:exclude_dir = /tmp /TMP /temp /TEMP /public /cache /CACHE
recycle:exclude = *.TMP *.tmp .temp ~$ *.log *.bak

and add for automatic deletion
crontab -e script

If this menu active on web-ui a big problem disappears.

You should be able to add this information on the SMB share via the WebUI (either during SMB share creation or changing an existing one) in the custom config field.

It will then find its way into the smb.conf file that way.

2 Likes

good info. i try it.