cifs access -delete share [ -g ] user
The share argument specifies the share whose ACL is to be modified. The user argument specifies the user or group of the ACL entry. user can be an NT user or group, if the filer is using NT domain authentication, or it can be a Unix user or group, or it can be the special all-encompassing group everyone. The rights argument can be specified in either NT or Unix style. NT-style rights are:
No Access
Read
Change
Full Control
Unix-style rights are a combination of r for read, w for write, and x for execute.
If a share-level ACL entry for user already exists on the specified share, cifs access updates that ACL entry.
To display the current share-level ACL of a share, use Windows Server Manager or the cifs shares command.
toaster> cifs access releases ENGINEERING\mary Read
The following example grants Unix read and execute access to the user john on the share accounting.
toaster> cifs access accounting john rx
The following example grants full access to the Unix group wheel on the share sysadmins.
toaster> cifs access sysadmins -g wheel Full Control
The following example deletes the ACL entry for ENGINEERING\mary on the share releases.
toaster> cifs access releases -delete ENGINEERING\mary