diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2012-01-25 23:18:08 +0100 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-01-26 14:42:18 -0600 |
commit | 7ea5c614d9c9e36c55f1da3d7fb894e83bbb56f3 (patch) | |
tree | 0ab8c0244ab458f2d6674e4b071c71ea62b92eda /man | |
parent | 5d441dd376ba0850f82d0927d798bbb60f70bda4 (diff) |
Add -W/--writable function to checkpath
Checkpath -W will use access(3p) to determine whether or not a path is
writable. This is more accurate than test(1p) because it also takes into
account whether or not the filesystem is mounted read-only.
Modified by William Hubbs to add the man page update.
Diffstat (limited to 'man')
-rw-r--r-- | man/runscript.8 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/man/runscript.8 b/man/runscript.8 index 30fde94e..5901f475 100644 --- a/man/runscript.8 +++ b/man/runscript.8 @@ -315,6 +315,11 @@ Mark the service as inactive. .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. +.It Ic checkpath +.Op Fl W , -writable +.Ar path +.Xc +checks to see if the path is writable. .It Ic yesno Ar value If .Ar value |