Subject:
You can set CIFS permissions in the GUI using the Advanced Settings tab of the Modify Network
Share dialog box
You can also use the "qs share-modify"
command to set CIFS permissions.
Detail:
The command line equivalent to unchecking the "Writable" box to make
the share read-only would be as follows:
qs share-modify --cifs-options='writable=no' --share=<ShareName>
You can also add more options with comma separated entries.
Example:
qs share-modify --cifs-options='writable=no,browseable=no' --share=<ShareName>
Additional options that can be used:
writable
vfs objects
veto files
store dos attributes
public
oplocks
map system
map readonly
map hidden
map archive
map acl inherit
hide unwriteable files
hide unreadable
ea support
directory mask
delete veto files
create mask
cache locked write times
browseable
acl_xattr:ignore system acls
Comments