Network Appliance(TM)

Manual Pages


Table of Contents

NAME

cifs rights - display user's CIFS access rights to a file or directory

SYNOPSIS

cifs rights share user path

DESCRIPTION

The cifs rights command displays a user's rights derived from the share-level Access Control List (ACL). The display is for the user user for the file with pathname path relative to the root of the share share.

EXAMPLE

Rights for the user hawleyr to the file /etc/rc relative to the shared resource C$ are obtained by the command

  cifs rights C$ hawleyr /etc/rc

which might produce output as follows:

  PC style Access Control is being used
  user is a member of group engineering
  access rights for share LINKS = r-x | r-x | r-x
  access rights for share ENG-USERS = rwx | rwx | rwx
  access rights for share HOME = r-x | r-x | r-x
  access rights for share C$ = rwx | rwx | rwx
  full path = /vol/etc/rc
  File Unix permissions user= Administrator(root) group= wheel
  file perm =rwx | rwx | ---
  PC rights RWX
  UNIX rights ---


Table of Contents