X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=doc%2Fman%2Fapply-default-acl.1;h=87e9803c916f514f5e34020d97c8e7caf0486042;hb=f8819ed634c7dac594755c37f3dc3bbf9d7926fe;hp=d8d66948f7acf569ea7cdb4588c94ac5201e1d39;hpb=b186e0d9ce4a597367a18a884a088cb9c57485c6;p=apply-default-acl.git diff --git a/doc/man/apply-default-acl.1 b/doc/man/apply-default-acl.1 index d8d6694..87e9803 100644 --- a/doc/man/apply-default-acl.1 +++ b/doc/man/apply-default-acl.1 @@ -34,3 +34,23 @@ contents of \fBfoo\fR are processed. Apply the default ACL literally; that is, don't use a heuristic to decide whether or not to mask the execute bit. This usually results in looser-than-necessary execute permissions. + +.SH EXIT CODE +.P +When given a single path, the following codes correspond directly to +the action of the program on that path: +.IP \fB0\ (EXIT_SUCCESS)\fR +Success +.IP \fB1\ (EXIT_FAILURE)\fR +Failure due to a symlink, hardlink, or invalid/inaccessible path +.IP \fB2\fP +Other unexpected library error +.P +When called on multiple paths, the results from all paths are +collected and the \(dqworst\(dq result is returned. For example, if +one path succeeds and another fails, the overall result will be +failure. If one succeeds, one fails, and one causes an error, then the +overall result will be an error; and so on. +.P +When the \fB\-\-recursive\fR flag is used, the exit code is computed +as if all affected paths were passed, depth-first, on the command-line.