Koozali.org: home of the SME Server

No Recycle bin??!! Why???

OursPolaire

db accounts show aladel
« Reply #15 on: July 14, 2006, 12:40:42 AM »
aladel=ibay
    CgiBin=enabled
    Gid=5001
    Group=shared
    KeepVersions=enabled
    Name=Alain Delete
    PasswordSet=no
    PublicAccess=local
    RecycleBin=enabled
    Uid=5001
    UserAccess=wr-group-rd-everyone

OursPolaire

No Recycle bin??!! Why???
« Reply #16 on: July 14, 2006, 12:59:41 AM »
On XP workstation, Explorer is set to see hidden files.

OursPolaire

No Recycle bin??!! Why???
« Reply #17 on: July 14, 2006, 01:09:19 AM »
This is what I see in Explorer:


My Network Places
.....|
.....aladel on SME Server
..........|
...........AppleDesktop
..........|
..........cgi-bin
..........|
..........files
..........|
..........html
...............|
...............index.html

OursPolaire

No Recycle bin??!! Why???
« Reply #18 on: July 14, 2006, 07:29:32 PM »
To Bytes:


These are my last settings:


db accounts show aladel:

aladel=ibay
CgiBin=enabled
Gid=5001
Group=shared
KeepVersions=enabled
Name=Alain Delete
PasswordSet=no
PublicAccess=local
RecycleBin=enabled
Uid=5001
UserAccess=wr-group-rd-everyone


In root command line:


db accounts setprop aladel RecycleBin enabled
db accounts setprop aladel KeepVersions enabled
signal-event ibay-modify aladel

Offline byte

  • *
  • 2,183
  • +2/-0
No Recycle bin??!! Why???
« Reply #19 on: July 14, 2006, 07:41:40 PM »
I don't know what's wrong then, as per my last comment I made an ibay and tested your recycle bin and it didn't work, I see you created another ibay and you are still havin problems?

I know when I did the test ibay (and the one's I use daily) they have recycle bin's, sorry can't help any more.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

OursPolaire

Some progress
« Reply #20 on: July 15, 2006, 12:22:43 AM »
Some progress :-D

With Explorer I deleted all files under "aladel on SME Server".  I did a Refresh and a Recycle Bin show up:

My Network Places
.....|
.....aladel on SME Server
..........|
...........Recycle Bin
...............|
.............. .recycle
....................|
....................index.html



But if I delete a test data file like:

My Network Places
.....|
.....alain on SME Server
..........|
...........testdatafile.txt



testdatafile.txt never show up in:

My Network Places
.....|
.....aladel on SME Server
..........|
...........Recycle Bin
...............|
...............[nothing!]


Question: Why.....?
 :-?

Offline JonB

  • *
  • 351
  • +0/-0
No Recycle bin??!! Why???
« Reply #21 on: July 15, 2006, 12:32:58 AM »
Quote
Question: Why.....?


You need to enable RecycleBin for each Ibay that you want to have a recycle bin.
Each Ibay will then have its own recycle bin. You cannot have one ibay act as a recycle bin for all other ibays.

Jon
...

OursPolaire

No Recycle bin??!! Why???
« Reply #22 on: July 15, 2006, 12:43:46 AM »
Hi JonB,

I am a rookie with the server thing and Linux.  I know some command lines and enter some parameters in SME (ver 6.5 and 7.0).   :-(

Can you show me a procedure? :-D   In my case I need only one Recycle Bin for the user Alain.  ;-)

Offline JonB

  • *
  • 351
  • +0/-0
No Recycle bin??!! Why???
« Reply #23 on: July 15, 2006, 03:41:15 AM »
This is the procedure to add Home user recycle bins

Log on to console

db configuration setprop smb RecycleBin enabled
db configuration setprop smb KeepVersions enabled

Expand Template...

/sbin/e-smith/expand-template /etc/samba/smb.conf

Remember to restart service...

/etc/rc7.d/S91smb restart

Now you should have a recycle bin for every existing and new users.

See http://bugs.contribs.org/show_bug.cgi?id=429

Jon
...

OursPolaire

It works!!!
« Reply #24 on: July 15, 2006, 01:44:06 PM »
It works!!!  8-)   8-)   8-)

It works exactly like you say in the procedure JonB.  :-D    (With Explorer) I created another user name (keepdat) to test.  I put a test data file (testdatafile.txt) in:


My Network Places
.....|
.....keepdat on SME Server
..........|
...........testdatafile.txt



I deleted testdatafile.txt and a Recycle Bin directory show up with testdatafile.txt in the Recycle Bin directory:

My Network Places
.....|
.....keepdat on SME Server
..........|
...........Recycle Bin
...............|
...............testdatafile.txt :-D


Big Thanks to you guys!!!  Especially Byte and JonB who lead me the solution.

You didn't save my life but you save my Weekend!!!   :pint:

(It's the vacation time after all:  :pint:   :pint:   :pint: )

Offline mmccarn

  • *
  • 2,653
  • +10/-0
No Recycle bin??!! Why???
« Reply #25 on: July 15, 2006, 03:07:59 PM »
Since I never knew that SME provided a "Recycle Bin" -

1. Is the SME Recycle Bin emptied as necessary to free up disk space like some other Recycle Bin's I've heard of...

2. Are there any utilities to automatically remove files from the Recycle Bin that have been there longer than some specified period?  (It looks like the "accessed date" is changed when an item is moved to "Recycle Bin".

Offline raem

  • *
  • 3,972
  • +4/-0
No Recycle bin??!! Why???
« Reply #26 on: July 15, 2006, 03:29:03 PM »
mmccarn

> Since I never knew that SME provided a "Recycle Bin" -

Put yourself on the devinfo mailing list and you will hear about a lot of things.
...

Offline lucho115

  • *****
  • 209
  • +0/-0
    • http://www.elac.com.ar
No Recycle bin??!! Why???
« Reply #27 on: March 13, 2007, 01:38:26 PM »
Code: [Select]
db configuration setprop smb RecycleBin enabled
db configuration setprop smb KeepVersions enabled

Expand Template...

/sbin/e-smith/expand-template /etc/samba/smb.conf

Remember to restart service...

/etc/rc7.d/S91smb restart


I did all like above , but my current users not have recycle bin, when then delete one file or folder nothing appear, i dont try creating a new user because i need this feature for the current users. So if anybody can helpme, i will be very thankful.
thks

Offline lucho115

  • *****
  • 209
  • +0/-0
    • http://www.elac.com.ar
No Recycle bin??!! Why???
« Reply #28 on: March 13, 2007, 01:42:53 PM »
OK, the code works OK , so i was wrong ,my error was to delete folder that dont have any file inside, but when at least exist a file in a folder, if yo delete that folder Recycle Bin appear and save that folder.
thks