From 7ea5c614d9c9e36c55f1da3d7fb894e83bbb56f3 Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Wed, 25 Jan 2012 23:18:08 +0100 Subject: 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. --- man/runscript.8 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'man/runscript.8') 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 -- cgit v1.2.3