Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Changing and displaying a share-level ACL

Reason for changing a share-level ACL  Top

After you create a share, by default, the share-level ACL gives Read access to the special group named Everyone. That is, all users in the domain and all trusted domains have read-only access to the share. You would change the share-level ACL if you want to give users more or fewer privileges to the share than they are allocated when the share is created.

Methods of changing a share-level ACL  Top

To change a share-level ACL, use one of the following methods:

Displaying and changing an ACL with the MMC  Top

To display and change an ACL with the MMC, complete the following steps.

Step

Action

1

Connect to the storage system using the MMC as described in Connecting to the storage system using MMC.

2

Perform the following actions to display an ACL of a share:

  1. Click Computer Management, if it is not selected already.
  2. Double-click System Tools > Shared Folders > Shares.
  3. In the right panel, right-click the share whose ACL you want to display.
  4. Select Properties from the drop-down menu.
  5. Click the Share Permissions tab.

    Result: The ACL of the share is displayed.

3

If you want to change the ACL for a user, select the group or user from the "Group or user names" box and change the permissions in the "Permissions for group or user name" box, as shown in the following example.

Adding a user or group to an ACL with the MMC  Top

To add a user or group to an ACL with the MMC, complete the following steps.

Step

Action

1

Connect to the storage system using the MMC as described in Connecting to the storage system using MMC.

2

Perform the following actions to add a user or group to an ACL of a share:

  1. Click Computer Management, if it is not selected already.
  2. Double-click System Tools > Shared Folders > Shares.
  3. In the right panel, right-click the share to whose ACL you want to add the user or the group.
  4. Select Properties from the drop-down menu.
  5. Click the Share Permissions tab.
  6. Click Add.
  7. In the Select Users, Computers, or Groups window, enter the name of the user in the "Enter the object names to select" box, as shown in the following example.
  1. Click OK.

    Result: A user or a group is added to the ACL.

Removing an entry from an ACL with the MMC  Top

To remove an entry from an ACL with the MMC, complete the following steps.

Step

Action

1

Connect to the storage system using the MMC as described in Connecting to the storage system using MMC.

2

Perform the following actions to delete a user or group from an ACL of a share:

  1. Click Computer Management, if it is not selected already.
  2. Double-click System Tools > Shared Folders > Shares.
  3. In the right panel, right-click the share from whose ACL you want to delete the user or the group.
  4. Select Properties from the drop-down menu.
  5. Click the Share Permissions tab.

    Result: A user or a group is deleted from the ACL.

Changing an ACL from the Data ONTAP command line  Top

To change an ACL from the Data ONTAP command line, complete the following step.

Step

Action

1

Enter the following command:

cifs access share [-g] {user | group} rights 

The -g argument specifies that the permissions are defined for a UNIX group. Do not include the -g argument if the permissions are for a Windows group. The command syntax does not provide a mechanism to differentiate between a Windows user name and a Windows group name.

user is a UNIX user name or a Windows user name.

group is a UNIX group name or a Windows group name. If the group is a local group, specify the storage system name as the domain name (for example, toaster\writers).

rights is a set of UNIX-style permissions or Windows permissions.

Examples

The following examples assign access rights to the share named library:

  • cifs access library -g engineering rwx
  • cifs access library marketing\joed Change

Removing an entry from an ACL with the Data ONTAP command line  Top

To remove an entry from an ACL with the Data ONTAP command line, complete the following step.

Step

Action

1

Enter the following command:

cifs access -delete share {user | group}

Examples

The following command removes the engineering group from the ACL for the library share:

cifs access -delete library engineering

The following command removes the user marketing\joed from the ACL for the library share.

cifs access -delete library marketing\joed

Displaying share-level ACLs from the Data ONTAP command line  Top

To display share-level ACLs, complete the following step.

Step

Action

1

Enter the following command:

cifs shares [share_name]

Result

If the storage system uses password authentication, the permission style displayed in share-level ACLs is UNIX style. If the storage system uses domain controller authentication, the permission style is identical to the style you used when specifying the ACLs, with the following exceptions:

  • If you specified rwx as the UNIX-style permissions, the permissions are displayed as Full Control in the ACL.
  • If you specified --- as the UNIX-style permissions, the permissions are displayed as No Access in the ACL.
  • If you specified r-x as the UNIX-style permissions, the permissions are displayed as Read in the ACL.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments