[Samba] VFS module recycle not working

Daniel Müller mueller at tropenklinik.de
Mon Feb 3 23:42:42 MST 2014


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



More information about the samba mailing list