Difference between revisions of "RecycleBin"

From SME Server
Jump to navigationJump to search
(→‎Solution: add instructions about how to change name of RecycleBin.)
m (→‎Extras: format only)
Line 16: Line 16:
 
===Extras===
 
===Extras===
 
To change recyclebin name you must to change this files  
 
To change recyclebin name you must to change this files  
/etc/e-smith/templates/etc/smb.conf/10recyclebin
 
/etc/e-smith/templates/etc/smb.conf/ibays/10recyclebin
 
  
Modifying this line:
+
/etc/e-smith/templates/etc/smb.conf/10recyclebin
    $vfs->{recycle}->{repository} = "Recycle Bin";
+
/etc/e-smith/templates/etc/smb.conf/ibays/10recyclebin
  
Where you change the "Recycle Bin" for something else. Eg. In Brazil would be "Lixeira"
+
Modifying this line: <br>
The SME way to do this is to create a custom template. Try to avoid change those files directly!
+
    $vfs->{recycle}->{repository} = "Recycle Bin";<br>
 
+
<br>
TIP: If your name has a DOT as first character, so it will be invisible! Eg: ".Lixeira"
+
Where you change the "Recycle Bin" for something else. Eg. In Brazil would be "Lixeira"<br>
 +
The SME way to do this is to create a custom template. Try to avoid change those files directly! <br>
 +
<br>
 +
TIP: If your name has a DOT as first character, so it will be invisible! Eg: ".Lixeira"<br>
  
  
 
----
 
----
 
[[Category: Howto]]
 
[[Category: Howto]]

Revision as of 17:03, 3 March 2008

Problem

Deleted files in ibays are lost forever.

Scenario

This has been a long known issue for network admins. Files stored on another computer/server. Accidentaly hit the DELETE key. Poof! Gone. Files aren't in the local Recycle bin on the local computer. This is especially frustrating for admins who map profile parts back to the server. The users desktop, documents, etc never find their way into the local recycle bin as the users expect.

Solution

Turn on the Recycle Bin.

db accounts setprop ibayname RecycleBin enabled
signal-event ibay-modify ibayname

An admin can now go and retrieve the files on the server.


Extras

To change recyclebin name you must to change this files

/etc/e-smith/templates/etc/smb.conf/10recyclebin
/etc/e-smith/templates/etc/smb.conf/ibays/10recyclebin

Modifying this line:

   $vfs->{recycle}->{repository} = "Recycle Bin";


Where you change the "Recycle Bin" for something else. Eg. In Brazil would be "Lixeira"
The SME way to do this is to create a custom template. Try to avoid change those files directly!

TIP: If your name has a DOT as first character, so it will be invisible! Eg: ".Lixeira"