From d59737afb159d993916836903d9e670a1334c93a Mon Sep 17 00:00:00 2001 From: Alexander V Vershilov Date: Sun, 16 Feb 2014 04:08:23 +0400 Subject: man/openrc.8: update checkpath documentation X-GENTOO-BUG: 500606 X-GENTOO-BUG-URL: https://bugs.gentoo.org/show_bug.cgi?id=500606 --- man/openrc-run.8 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'man/openrc-run.8') 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 -- cgit v1.2.3