X-Git-Url: https://git.distorted.org.uk/~mdw/checkpath/blobdiff_plain/263d6e0d5b3272ea76ed646258ee945fae8a096f..fffc1e8c9a4e3beb27ca439bd873759e0f00e0b8:/chkpath.1 diff --git a/chkpath.1 b/chkpath.1 index 3668936..181cc09 100644 --- a/chkpath.1 +++ b/chkpath.1 @@ -5,6 +5,8 @@ chkpath \- check a path string for security .SH SYNOPSIS .B chkpath .RB [ \-vqstp ] +.RB [ \-g +.IR group ] .RI [ path ...] .SH USAGE The @@ -60,6 +62,19 @@ effect, so put more in for more verbosity. Note that verbose doesn't mean the same as interesting. The default is to report problems with directories and system errors. .TP +.B "\-g, \-\-group " group +Consider members of +.I group +to be trustworthy: +.B chkpath +won't warn about a directory being group-writable if its gid matches +.IR group . +The +.I group +may be a group name (looked up in +.BR /etc/group ) +or a numeric gid in decimal. +.TP .B "\-q, \-\-quiet" Makes .B chkpath