Skip to main content
A newer release of this product is available.

vserver cifs share access-control modify

Contributors
Suggest changes

Modify an access control list

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver cifs share access-control modify command modifies the permissions of a user or group in a CIFS share's ACL.

Parameters

-vserver <vserver name> - Vserver

This parameter specifies the name of the Vserver containing the CIFS share whose ACL you want to modify.

-share <Share> - Share Name

This parameter specifies the name of the CIFS share whose ACL you want to modify.

-user-or-group <TextNoCase> - User/Group Name

This parameter specifies the user or group to modify. If you specify the user name, you must include the user's domain using the format "domain\username". The user-or-group parameter is case-insensitive text.

[-user-group-type {windows|unix-user|unix-group}] - User or Group Type

This parameter specifies the type of the user or group to modify. The default type is windows. The user-group-type can be one of the following:

  • windows

  • unix-user

  • unix-group

[-permission <access rights>] - Access Type

This parameter specifies the permissions for the user or group. The permissions can be one of the following:

  • No_access

  • Read

  • Change

  • Full_Control

Examples

The following example modifies the access control list for a share named "vol3". It changes the permission for the windows group "Everyone" to "Full_Control".

vs1::*> vserver cifs share access-control modify -share vol3 -user-or-group Everyone -user-group-type windows -permission Full_Control

The following example modifies the access control list for a share named "vol3". It changes the permission for the unix-user "pcuser" and unix-group "daemon" to "change".

vs1::> vserver cifs share access-control modify -share vol3 -user-or-group pcuser -user-group-type unix-user -permission change
        vs1::> vserver cifs share access-control modify -share vol3 -user-or-group daemon -user-group-type unix-group -permission change