Skip to main content

vserver cifs share access-control delete

Contributors
Suggest changes

Delete 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 delete command deletes a user or group from a CIFS share's ACL.

Parameters

-vserver <vserver name> - Vserver

This parameter specifies the name of the Vserver containing the CIFS share.

-share <Share> - Share Name

This parameter specifies the name of the CIFS share.

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

This parameter specifies the user or group to delete from the CIFS share's access control list. If you specify a 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 delete from the CIFS share's access control list. The default type is windows. The user-group-type can be one of the following:

  • windows

  • unix-user

  • unix-group

Examples

The following example deletes the group "Everyone" for the access control list of share "vol3".

vs1::> vserver cifs share access-control delete -share vol3 -user-or-group Everyone