Line 1: |
Line 1: |
| ===Problem=== | | ===Problem=== |
− | Deleted files in ibays are lost forever.
| |
| | | |
− | ===Scenario=== | + | Deleted files in ibays or in users home directories on the server 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. | | 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=== | + | === Enable Recycle Bin for ibays === |
− | Turn on the Recycle Bin.
| |
| | | |
| db accounts setprop ibayname RecycleBin enabled | | db accounts setprop ibayname RecycleBin enabled |
Line 12: |
Line 13: |
| signal-event ibay-modify ibayname | | signal-event ibay-modify ibayname |
| | | |
− | {{Warning box|After making changes to the ibay (with the commands shown), you need to logoff your workstation and log back in again so those new access permissions are included in your login session. Recycle Bin will then function as expected.}}
| + | === Enable Recycle Bin for users === |
| + | |
| + | db configuration setprop smb RecycleBin enabled |
| + | db configuration setprop smb KeepVersions enabled |
| + | |
| + | Expand the template... |
| + | |
| + | /sbin/e-smith/expand-template /etc/samba/smb.conf |
| + | |
| + | Remember to restart service... |
| + | |
| + | /etc/rc7.d/S91smb restart |
| | | |
| + | {{Warning box|After making changes the changes (with the commands shown), you need to logoff your workstation and log back in again so those new access permissions are included in your login session. Recycle Bin will then function as expected.}} |
| | | |
| The Recycle Bin folder will be created automatically the first time a file is deleted, so you will not see the folder until you delete something. | | The Recycle Bin folder will be created automatically the first time a file is deleted, so you will not see the folder until you delete something. |
Line 19: |
Line 32: |
| An admin can then go and retrieve the files on the server. | | An admin can then go and retrieve the files on the server. |
| | | |
− | The location of the Recycle Bin is:
| + | === Recycle Bin Locations === |
| + | |
| + | For ibays the Recycle Bin is located at: |
| + | |
| /home/e-smith/files/ibays/ibayname/files/Recycle Bin | | /home/e-smith/files/ibays/ibayname/files/Recycle Bin |
| | | |
− | ===Changing the recycle bin name=== | + | For users the Recycle Bin is located at: |
| + | |
| + | /home/e-smith/files/users/username/home/Recycle Bin |
| + | |
| + | === Changing the Recycle Bin name === |
| + | |
| You can change the name of the recycle bin by making a copy of the template fragment into the templates-custom tree and making your modifications there. | | You can change the name of the recycle bin by making a copy of the template fragment into the templates-custom tree and making your modifications there. |
| <ol></li><li>Create the proper folder structure: | | <ol></li><li>Create the proper folder structure: |