NAME
check_path - check a path to ensure that "other" can traverse it
SYNOPSIS
check_path [-v] [path]
DESCRIPTION
When permissions block access to a file, it's often difficult to
uncover, because the block may occur at any directory, not just at the
final node. This script checks all the directories in
path(s);
paths which fail are printed.
OPTIONS
If no paths are mentioned on the execution line,
check_path reads
paths from stdin.
-
-v
Mention explicitly paths which pass, in addition to flagging paths
which fail.
EXAMPLE
% check_path /brtt/danq/gsn/dbmaster/gsn.site
blocked at /net/ament/brtt/danq/gsn:
drwxrwxr-- 11 danq brtt 512 Apr 8 09:05 /brtt/danq/gsn
RETURN VALUES
The result is zero if all paths are ok, 1 if any paths fail.
DIAGNOSTICS
SEE ALSO
Because
autodrm(1) usually runs as the autodrm user
and is run automatically by sendmail, it's particularly important
that paths be readable, and problematic when they're not.
AUTHOR
Daniel Quinlan