6.3 HP StoreAll Storage Command Line Reference Guide (TA768-96091, June 2013)

ibrix_cifsperms
Manages user and group permissions for SMB shares.
Description
The ibrix_cifsperms command adds a user or group to an SMB share and assigns share-level
permissions. You can also use the command to modify or delete existing share-level permissions,
or to display the current share-level permissions.
The share level permissions are fullcontrol, read, or change.
NOTE: Permissions on an SMB share managed by the MMC cannot be modified by the StoreAll
management console GUI or CLI.
Synopsis
Add a user or group to a share and assign share-level permissions:
ibrix_cifsperms -a -s SHARENAME -u USERNAME -t TYPE -p PERMISSION [-h
HOSTLIST]
For example, the following command gives everyone read permission on share1:
ibrix_cifsperms -a -s share1 -u Everyone -t ALLOW -p read
Modify share-level permissions for a user or group:
ibrix_cifsperms -m -s SHARENAME -u USERNAME -t TYPE -p PERMISSION [-h
HOSTLIST]
Delete share-level permissions for a user or group:
ibrix_cifsperms -d -s SHARENAME [-u USERNAME] [-t TYPE] [-h HOSTLIST]
Display share-level permissions:
ibrix_cifsperms -i -s SHARENAME [-t TYPE] [-h HOSTLIST]
Options
DescriptionOption
Adds a user or group to a share and assigns share-level permissions.-a
Deletes share-level permissions for a user or group.-d
Specifies file serving nodes (use commas to separate the node names).-h HOSTLIST
Displays share-level permissions.-i
Modifies share-level permissions for a user or group.-m
Specifies a permission setting (fullcontrol, read, or change).-p PERMISSION
Specifies the name of a share.-s SHARENAME
Specifies the type of permission (allow or deny).[-t TYPE]
Specifies a user or group name.-u USERNAME
Shows the usage for this command.-?
32 StoreAll software commands