ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver security file-directory show-effective-permissions

    Display effective file or folder permissions

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

    Description

    The `vserver security file-directory show-effective-permissions ` command displays the effective permission granted to a Windows or UNIX user on the specified file or folder path. The command output depends on the parameter or parameters specified with the command.

    The -vserver , -win-user-name or -unix-user-name and -path parameters are required for this command. If the optional parameter -share-name is specified, it will display the effective share permission.

    Parameters

    { [-fields <fieldname>,…​]

    If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

    | [-instance ] }

    If you specify the -instance parameter, the command displays detailed information about all fields.

    -vserver <vserver> - Vserver

    Use this required parameter to specify the Vserver that contains the path to the file or folder specified with the required -path parameter. Query characters, such as "*", are not supported.

    { -win-user-name <text> - Windows User Name

    Use this parameter to specify the Windows user for which effective permission needs to be displayed on the given file or folder.

    | -unix-user-name <text> - Unix User Name }

    Use this parameter to specify the UNIX user for which effective permission needs to be displayed on the given file or folder.

    -path <text> - File Path

    Use this mandatory parameter to specify the path of the file or the folder for which you want to display effective permissions. The path is relative to the Vserver root volume. If -share-name is specified then the path will be relative to the share path. Query characters,such as "*", are not supported.

    [-share-name <Share>] - CIFS Share Name

    If you specify this optional parameter, the command displays the file or directory effective permission for the mentioned user, only for files and directories con-tained where the specified path is relative to the root of the specified share. If this parameter is not specified, the Vserver root volume is taken as the default. If this optional parameter is specified, then it will also display the effective share permission of the user. Wildcard query characters are not supported.

    [-client-ip-address <IP Address>] - Client IP Address

    If you specify this optional parameter, the command displays the effective permission for the user with the specified client ip address.

    [-expand-mask {true|false}] - Expand Bit Masks

    If you specify this optional parameter, the command displays effective permission for files and directories where the hexadecimal bit mask entries are in expanded bit form. If set to default (false), the command displays effective permission for file or directory in collapsed (textual) form.

    [-share-path <text>] - CIFS Share Path

    If you specify this parameter, the command displays information only about the CIFS share that match the specified path. Query characters, such as "*", are not supported.

    [-permission <Security acl>,…​] - Effective Permissions

    If you specify this parameter, the command displays effective permission only if specified permission matches. Wildcard query characters are not supported.

    Top of Page