.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "FS_GETCALLERACCESS 1" .TH FS_GETCALLERACCESS 1 2024-03-20 OpenAFS "AFS Command Reference" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME fs_getcalleraccess \- Show the current user's access to a file or directory .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBfs getcalleraccess\fR [\fB\-path\fR\ <\fIpath\fR>+] [\fB\-help\fR] .PP \&\fBfs gca\fR [\fB\-p\fR\ <\fIpath\fR>] [\fB\-h\fR] .SH DESCRIPTION .IX Header "DESCRIPTION" The \fBfs getcalleraccess\fR command displays the access that the current user has to the specified path using the same representation as \fBfs listacl\fR. .SH OPTIONS .IX Header "OPTIONS" .IP \fB\-help\fR 4 .IX Item "-help" Prints the online help for this command. All other valid options are ignored. .IP "\fB\-path\fR <\fIpath\fR>+" 4 .IX Item "-path +" The \fB\-path\fR option specifies the path on which to operate. \fB\-path\fR may be omitted. If this option isn't given, the default is to act on the current directory. .SH OUTPUT .IX Header "OUTPUT" For each path, \fBfs getcalleraccess\fR outputs a line like: .PP .Vb 1 \& Callers access to is .Ve .PP where is the path on which it is operating and is an ACL string in the same format as is returned by \fBfs listacl\fR. See \&\fBfs_listacl\fR\|(1) for more information about AFS ACL strings. .SH EXAMPLES .IX Header "EXAMPLES" The following command shows the current user's access to the path \&\fI/afs/openafs.org\fR, which is read and lookup access. .PP .Vb 3 \& % fs getcalleraccess /afs/openafs.org \& Callers access to /afs/openafs.org is rl \& % .Ve .SH "PRIVILEGE REQUIRED" .IX Header "PRIVILEGE REQUIRED" No special privileges are required for this command. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBfs_listacl\fR\|(1), \&\fBfs_setacl\fR\|(1) .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright 2007 Jason Edgecombe .PP This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS.