Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: mackayr on July 22, 2005, 06:13:38 AM
-
I recently upgraded my server to 6.5. The recycle bin feature is working fine for home folders, but doesn't appear to work for ibays (though I changed the setting under modify and saved it). I noticed that there are "Recycle Bin" folders in the files directory with files, html, and cgi-bin, but there's nothing in them (and I've deleted some files to test the feature).
Any suggestions/ideas?
-
What happens if you log into the console via SSH and monitor it?
I also noticed that sometimes things dont work right with my web browser Opera. Have you tried another browser?
-
I don't understand how/why web browsers would be related to recycle bin.
Please elaborate.
-
mackayr,
(Haven't tried 6.5 but if it's still the good old samba recyclebin you'll want to...)
first: look into the good old /etc/samba/smb.conf
and check if you can find the samba "vfs" object that does the recyclebin
iow with pico /etc/samba/smb.conf
...look for two lines like this...
vfs object = /usr/lib/samba/vfs/recycle.so
vfs options = /etc/e-smith/templates/etc/smb.conf/50recyclebin
next: check /etc/e-smith/templates/etc/smb.conf/50recyclebin
...and decide for yourself if the options are right or caused your problems
Regards
Reinhold
-
I have the following section under [homes]
vfs object = recycle:repository recycle:keeptree recycle:versions recycle:touch recycle:exclude recycle:exclude_dir
recycle:repository=Recycle Bin
recycle:keeptree=True
recycle:versions=True
recycle:touch=True
recycle:exclude=*.tmp|*.temp|*.o|*.obj|~$*
recycle:exclude_dir=/tmp|/temp|/cache
But there's nothing under the separate ibays, nor is there a template for "50recyclebin".
SME 6.5 comes with Samba v.3 so I think it may be handled differently under this version.
I could try and cut/paste the recycle bin stuff from homes section to ibays individually, but those changes would be lost next time SME does it's update thing.
Any further ideas?
Thanks,
Rob
-
OK. Problem solved.
At one point, I had been having problems with permissions with shared folders (ibays) and did some playing around with 90ibays in templates. When I upgraded to SME 6.5 (with Samba 3), the recycle bin modification went to the original 90ibays in template (I had a copy in templates-custom or whatever that folder is). Therefore "my" copy was overriding the modified template. Easy fix. I removed my custom template, re-expanded smb.conf, restarted samba and voila! Recycle bin!
BTW ... v.6.5 works great so far.
Rob