Koozali.org: home of the SME Server

Samba recycle bin and Ibays

Jon Blakely

Samba recycle bin and Ibays
« on: September 27, 2003, 06:07:58 PM »
Has any one managed to get Samba network recycle bin working in an Ibay. It works fine in user space but doesn't seem to work in an Ibay.

Jon

John

Re: Samba recycle bin and Ibays
« Reply #1 on: September 27, 2003, 09:38:49 PM »
Certainly works on Ibays with 6.0beta3

Michiel

Re: Samba recycle bin and Ibays
« Reply #2 on: September 27, 2003, 10:03:28 PM »
I use sme-recyclebin from http://www.e-smith.dyndns.org/, which also recycles i-bays. I've seen an other contrib on contribs.org that would only recycle the users' directories.

Michiel

Jon Blakely

Re: Samba recycle bin and Ibays
« Reply #3 on: September 28, 2003, 06:18:26 AM »
Strange, I am using sme-recyclebin but it doesn't seem to work in an ibay. How have you got the ibays set up.

Jon

jpk

Re: Samba recycle bin and Ibays
« Reply #4 on: September 28, 2003, 09:03:21 AM »
following the how-to (sparse for me), and installing the rpm (both from contribs.org maybe) the recycle bins were created (on first delete), ibays and users.  the ibays didn't work (no files appeared in bin) until I changed the ownership which hadn't matched the ibay (or wasn't accessible to users to whom the ibay was accessible).  Other then the name of the recycle bin, I don't think I changed anything else from what the rpm did.

Michiel

Re: Samba recycle bin and Ibays
« Reply #5 on: September 28, 2003, 02:04:29 PM »
It worked out of the box for me. The only restrictions I found are:
1/ It won't work on empty documents (big deal)
2/ It won't work if the user hasn't write permissions on the root of the ibay.
3/ When you mount a share to a subdirectory of an ibay, the .recyclebin will still reside in the root of the ibay. For example your share is /home/e-smith/files/ibays/myibay/html, then the recyclebin will be placed in /home/e-smith/files/ibays/myibay and hence not show up in your Windows Explorer.

Hope this helps

Michiel

jpk

Re: Samba recycle bin and Ibays
« Reply #6 on: September 29, 2003, 12:18:53 AM »
FWIW, I'm running 5.5 with little knowledge, but my Recycle Bin resides in ../files, and is accessible to Explorer, to all users of that ibay's "files" directory  (probably because most of our ibays are configured through the admin panel to an effective root or 'share' of ../files/).

Jon Blakely

Re: Samba recycle bin and Ibays
« Reply #7 on: September 29, 2003, 01:47:20 AM »
Cheers Guys, got it working.

Jon