On this page
Network Recycle Bin
There is a network recycle bin for each share. To set this up, here are the files to configure with the necessary options. My tests were done on a Red Hat Enterprise 4 with Samba 3. This configuration only works with Samba 3. For earlier versions, it’s a .recycle file with a different content. But let’s proceed with the configuration:
Edit the smb.conf
file and add these lines:
|
|
A small script in the crontab to remove items older than 1 week and you’re good to go :-)
|
|
Of course, don’t forget to restart Samba!
|
|
Last updated 22 Oct 2006, 20:28 CEST.