Network Appliance(TM)

Manual Pages


Table of Contents

NAME

cifs access - modify share-level access control

SYNOPSIS

cifs access share [ -g ] user rights

cifs access -delete share [ -g ] user

DESCRIPTION

The cifs access command sets or modifies the share-level Access Control List (``ACL'') of a share.

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.

OPTIONS

-g
Specifies that user is the name of a Unix group. Use this option when you have a Unix user and group with the same name.

-delete
Deletes the ACL entry for user on share.

EXAMPLES

The following example grants NT Read access to the NT user ENGINEERING\mary on the share releases.

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

SEE ALSO

na_cifs_shares(1)


Table of Contents