"Olaf Eichhorn, Vermessungsbüro Pfeifer"
2004-May-26 10:00 UTC
[Samba] example configuration for VFS recycle
Hi SAMBA users Can anybody give me an working part of an smb.conf for vfs recycle? I use SAMBA 3.0.2-7 on Fedora Core 1 I have read the samba howto and now I know the possible options but not the right syntax. I found only examples for SAMBA 2.x. I tried the following (smb.conf ) but it isn't working for the specific share Daten [Daten] vfs objects = recycle recycle:repository = Papierkorb recycle:versions = True recycle:touch = True recycle:keeptree = True recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.ba0 recycle:exclude_dir = /tmp|/temp|/cache Is it possible to make the recycle folder user specific with the %U option?? thanks for Your help Olaf
Hi, Olaf Eichhorn, Vermessungsb?ro Pfeifer schrieb:> Hi SAMBA users > > Can anybody give me an working part of an smb.conf for vfs recycle? > I use SAMBA 3.0.2-7 on Fedora Core 1 > I have read the samba howto and now I know the possible options but not > the right syntax. I found only examples for SAMBA 2.x. > > I tried the following (smb.conf ) but it isn't working for the specific > share Daten > > [Daten] > > vfs objects = recyclethis should read vfs object = recycle> recycle:repository = Papierkorb > recycle:versions = True > recycle:touch = True > recycle:keeptree = True > recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.ba0 > recycle:exclude_dir = /tmp|/temp|/cache >try this one, works fine for me vfs object = recycle recycle:repository = .Papierkorb/%U recycle:keeptree = Yes recycle:touch = Yes recycle:versions = Yes recycle:maxsize = 0 recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~?? recycle:excludedir = /tmp|/temp|/cache recycle:noversions = *.doc|*.xls|*.ppt Christoph> Is it possible to make the recycle folder user specific with the %U > option?? > > thanks for Your help > > Olaf