Difference between revisions of "Share Extra Parameters"

From Amahi Wiki
Jump to: navigation, search
Line 5: Line 5:
 
'''IMPORTANT: You can easily make Amahi generate INVALID samba configurations with this option - so use it very carefully!!'''
 
'''IMPORTANT: You can easily make Amahi generate INVALID samba configurations with this option - so use it very carefully!!'''
  
For example, you could add a line such as:
+
[[File:Share_Extra_Parameters.png]]
 +
 
 +
= Recycle Bins =
 +
 
 +
One example of what you can do with this option is adding recycle bins to your shares.
 +
 
 +
You can add a recycle bin by adding a line like this:
 +
 
 
           vfs objects = recycle
 
           vfs objects = recycle
to enable the Recycle Bin module for that share.
 
  
[[File:Share_Extra_Parameters.png]]
+
to the extra parameters of a share.
 +
 
 +
That enables the Recycle Bin module for that share. The first time a file is deleted, an (invisible) folder is created called
 +
 
 +
      .recycle
 +
 
 +
to the share and the files deleted start being put there. If your share is called Pictures, the way to find it's recycle bin is with
 +
 
 +
      \\hda.home.com\Pictures\.recycle
 +
 
 +
(if your home domain is home.com ... or \\hda\Pictures\.recycle, if your client let's you use short names)

Revision as of 21:01, 8 February 2010

The Extra Parameters option for Shares will appear if you enabled Advanced_Settings.

It can be used to add other parameters in your smb.conf for specific shares.

IMPORTANT: You can easily make Amahi generate INVALID samba configurations with this option - so use it very carefully!!

Share Extra Parameters.png

Recycle Bins

One example of what you can do with this option is adding recycle bins to your shares.

You can add a recycle bin by adding a line like this:

          vfs objects = recycle

to the extra parameters of a share.

That enables the Recycle Bin module for that share. The first time a file is deleted, an (invisible) folder is created called

      .recycle

to the share and the files deleted start being put there. If your share is called Pictures, the way to find it's recycle bin is with

      \\hda.home.com\Pictures\.recycle

(if your home domain is home.com ... or \\hda\Pictures\.recycle, if your client let's you use short names)