Difference between revisions of "Share Extra Parameters"
From Amahi Wiki
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | The ''Extra Parameters'' option for Shares will appear if you enabled [[Advanced_Settings]]. | + | The ''Extra Parameters'' option for Shares will appear if you enabled [[Advanced_Settings|Advanced Settings]]. |
It can be used to add other parameters in your smb.conf for specific shares. | It can be used to add other parameters in your smb.conf for specific shares. | ||
Line 11: | Line 11: | ||
You can do anything that Samba let's you | You can do anything that Samba let's you | ||
− | * Add [[Recycle bins] to each of your shares | + | * Add [[Recycle bins]] to each of your shares |
* Allow guests to see a share, by adding this line to a share | * Allow guests to see a share, by adding this line to a share | ||
− | + | guest ok = yes | |
* Add [http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2650822 quotas] to a share | * Add [http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2650822 quotas] to a share | ||
+ | * Allow files to be set as hidden in Windows | ||
+ | map hidden = yes | ||
* [http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2651039 Audit share activiy] | * [http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2651039 Audit share activiy] | ||
− | * | + | * Add comment to shares (overrides existing share name comment) |
+ | comment = Backup files from Windows PC | ||
+ | * Even run [http://www.clamav.net/ ClamAV antivirus] and having [http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2652839 virus protection in a given share] | ||
− | If these work well and there is demand for any of them, we will provide them as a single-click checkbox. Send us feedback or file a [http://bugs.amahi.org feature request for it | + | If these work well and there is demand for any of them, we will provide them as a single-click checkbox. Send us feedback or file a [http://bugs.amahi.org feature request] for it! |
Latest revision as of 17:43, 9 August 2014
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!!
Things You Can Do
You can do anything that Samba let's you
- Add Recycle bins to each of your shares
- Allow guests to see a share, by adding this line to a share
guest ok = yes
- Add quotas to a share
- Allow files to be set as hidden in Windows
map hidden = yes
- Audit share activiy
- Add comment to shares (overrides existing share name comment)
comment = Backup files from Windows PC
- Even run ClamAV antivirus and having virus protection in a given share
If these work well and there is demand for any of them, we will provide them as a single-click checkbox. Send us feedback or file a feature request for it!