fs_getcalleraccess(1)

fs_getcalleraccess1

Show the current user's access to a file or directory

Usage

fs getcalleraccess [-path <path>+] [-help]

fs gca [-p <path>] [-h]

Overview

The fs getcalleraccess command displays the access that the current user has to the specified path using the same representation as fs listacl.

Options

-help

Prints the online help for this command. All other valid options are ignored.

-path <path>+

The -path option specifies the path on which to operate. -path may be omitted. If this option isn't given, the default is to act on the current directory.

Output

For each path, fs getcalleraccess outputs a line like:

    Callers access to <directory> is <rights>

where <directory> is the path on which it is operating and <rights> is an ACL string in the same format as is returned by fs listacl. See fs_listacl(1) for more information about AFS ACL strings.

Examples

The following command shows the current user's access to the path /afs/openafs.org, which is read and lookup access.

   % fs getcalleraccess /afs/openafs.org
   Callers access to /afs/openafs.org is rl
   %

Privilege required

No special privileges are required for this command.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 8 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13

From openafs-client 1.8.13.2-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.