[Samba] Recycle VFS + Gnome Trash

2010-01-09 Thread James A R Brown
Hi, We have hard mounted samba shares (via pam_mount) at login including the user home dir. We have tried setting up the recycle VFS module which works fine when we delete a file from the share on the command line. But when we delete a file in gnome via the gui, it puts it in the users

[Samba] recycle vfs module

2009-01-19 Thread vishesh kumar
Dear all I am using samba 3.0.28 on RHEL5.2. I configured VFS to store deleted file from samba share. Now i want to write script to delete files from recycle store after 7 days of deleting file from samba share. How i know the date when file was deleted from samba share. Thanks -- To

Re: [Samba] recycle vfs module

2009-01-19 Thread Tim Bates
If you shares are on a filesystem that does ctime, you can find files with a ctime older than 7 days. ctime should update when the files are moved to the recycle directory. For example, you could use find like this: find /full/path/to/.recycled/ -ctime +7 TB vishesh kumar wrote: Dear all

[Samba] Recycle VFS

2007-12-10 Thread Trent Murray
Hi all, I have googled the below two questions for days now and still am missing something. So my question is: 1. How do you set the recycle bin so that users cant accidentally delete it 2. Can you map all recycle-bins to a central share called [trash]? I have tried this but it results in

Re: [Samba] Recycle VFS

2007-12-10 Thread mourik jan heupink
2. Can you map all recycle-bins to a central share called [trash]? I have tried this but it results in root only privileges to the share. I have placed a symbolic link called .recycle in the root folder of all my shares, all pointing to the same location on my server: /recycle All deleted

[Samba] recycle vfs module doesn't touch modification time

2006-03-08 Thread Toni Casueps
I have this in smb.conf: vfs objects = recycle recycle:repository = .recycle/%U recycle:keeptree = yes recycle:touch_mtime = yes Files get moved to each user's subfolder inside .recycle, and the directory tree where the deleted file lied gets created, but the modification time of the file is

[Samba] Samba recycle VFS: File date stamp

2005-08-05 Thread Karl Banasky
Hello everyone. I have been looking and looking on the internet and this list for information on how to setup the recycle VFS setting so that the file deleted and then moved to the recycle directory is date stamped with the move date not the file's original date. Can anyony assistme in

[Samba] Samba recycle VFS: File date stamp

2005-08-05 Thread Karl Banasky
Hello everyone. I have been looking and looking on the internet and this list for information on how to setup the recycle VFS setting so that the file deleted and then moved to the recycle directory is date stamped with the move date not the file's original date. Can anyony assistme in

Re: [Samba] Recycle VFS Second Pair of Eyes

2004-11-19 Thread Christoph Scheeder
Hi, one smal but bad typo: Tim Hodgkinson schrieb: Here is my set up: Fedora Core 2 Samba 3.0.7 Smb.conf: [infosys] comment = Information Systems Drive path = /home/depts/infosys valid users = @SSVMTN+it admin users = @SSVMTN+Domain Admins create mask

Re: [Samba] Recycle VFS Second Pair of Eyes

2004-11-19 Thread Holger Krull
Christoph Scheeder schrieb: Hi, one smal but bad typo: vfs objects = recycle here: ^ has to be vfs object = recycle That's no typo. Both forms are allowed. From the docs (http://sambafr.idealx.org/samba/docs/man/smb.conf.5.html): vfs object This parameter is a

Re: [Samba] Recycle VFS Second Pair of Eyes

2004-11-19 Thread Christoph Scheeder
Holger Krull schrieb: Christoph Scheeder schrieb: Hi, one smal but bad typo: vfs objects = recycle here: ^ has to be vfs object = recycle That's no typo. Both forms are allowed. From the docs (http://sambafr.idealx.org/samba/docs/man/smb.conf.5.html): vfs object

[Samba] Recycle VFS Second Pair of Eyes

2004-11-18 Thread Tim Hodgkinson
Here is my set up: Fedora Core 2 Samba 3.0.7 Smb.conf: [infosys] comment = Information Systems Drive path = /home/depts/infosys valid users = @SSVMTN+it admin users = @SSVMTN+Domain Admins create mask = 0770 directory mask = 0770

Re: [Samba] Recycle VFS Second Pair of Eyes

2004-11-18 Thread Holger Krull
[infosys] vfs objects = recycle recycle:repository = .recycle/%U recycle:keeptree = Yes recycle:touch = Yes recycle:versions = Yes recycle:exclude = *.tmp *.temp *.~?? recycle:excludedir = /tmp /temp /cache recycle:maxsize = 0 i can