diff options
author | Alexander V Vershilov <qnikst@gentoo.org> | 2014-02-16 04:08:23 +0400 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2014-07-13 08:50:36 -0500 |
commit | d59737afb159d993916836903d9e670a1334c93a (patch) | |
tree | d77a87ffaf57f8f810940969a9bd38191e6b9ea5 | |
parent | f66f41c4f03d8077bdaa047a7a93f6c92c0a69de (diff) |
man/openrc.8: update checkpath documentation
X-GENTOO-BUG: 500606
X-GENTOO-BUG-URL: https://bugs.gentoo.org/show_bug.cgi?id=500606
-rw-r--r-- | man/openrc-run.8 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/man/openrc-run.8 b/man/openrc-run.8 index 0ce1f752..07f35274 100644 --- a/man/openrc-run.8 +++ b/man/openrc-run.8 @@ -322,10 +322,25 @@ Mark the service as inactive. .Op Fl p , -pipe .Op Fl m , -mode Ar mode .Op Fl o , -owner Ar owner +.Op Fl q , -quiet .Ar path ... .Xc Checks to see if the path exists, is of the right type, owned by the right people and has the correct access modes. If not, then it corrects the path. + +Type. +File, directory and pipe types are supported, if type is not provided then +directory is used + +Mode. +Mode should be provided as a three (644) or four digit string (0644). If mode +is argument is not provided then default value is used: 0644 - for files, and +0775 for directories. + +Truncate variant of options create empty directory or file, or clears contents +if it exists. + +Quiet argument suppress normal output, repeat quiet argument to suppress errors. .It Ic checkpath .Op Fl W , -writable .Ar path |