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
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
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
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
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
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
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
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
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
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
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
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
[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
13 matches
Mail list logo