wennmanmalnefragehat at posteo.is
2014-Feb-03 21:29 UTC
[Samba] VFS module recycle not working
Hello, I'm using Samba 3.6.9 on a CentOS 6.5 machine and want to enable the 'recycler'-feature. So I added following lines to the [global]-section of my smb.conf: vfs object = recycle recycle:repository = .deleted/%U recycle:keeptree = Yes recycle:touch = Yes recycle:versions = Yes recycle:maxsixe = 0 recycle:exclude = *.tmp recycle:exclude_dir = /tmp recycle:directory_mode = 0777 recycle:subdir_mode = 0777 After that I restarted SMB-Services, the clients and even the server by itself. Unfortunately, the folder '.deleted" will be created but no deleted file nor folder will be moved to that directory. The file '/usr/lib64/samba/vfs/recycle.so' exists, so the installation seems to be okay. Is there anyone who has an idea why it doesn't work? Best regards and thank you in advance.
You need to define a share to make recycle work. EX.: [homes] Path.....of homes vfs object = recycle ... Or: [sales] Path ...of sales vfs object = recycle ... EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de "Der Mensch ist die Medizin des Menschen" -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von wennmanmalnefragehat at posteo.is Gesendet: Montag, 3. Februar 2014 22:29 An: samba at lists.samba.org Betreff: [Samba] VFS module recycle not working Hello, I'm using Samba 3.6.9 on a CentOS 6.5 machine and want to enable the 'recycler'-feature. So I added following lines to the [global]-section of my smb.conf: vfs object = recycle recycle:repository = .deleted/%U recycle:keeptree = Yes recycle:touch = Yes recycle:versions = Yes recycle:maxsixe = 0 recycle:exclude = *.tmp recycle:exclude_dir = /tmp recycle:directory_mode = 0777 recycle:subdir_mode = 0777 After that I restarted SMB-Services, the clients and even the server by itself. Unfortunately, the folder '.deleted" will be created but no deleted file nor folder will be moved to that directory. The file '/usr/lib64/samba/vfs/recycle.so' exists, so the installation seems to be okay. Is there anyone who has an idea why it doesn't work? Best regards and thank you in advance. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba