On startup of sshproxy-dumpd, check that the target directory (-output) exists and is traversable (x permission bit on POSIX).
If the directory is readable but not writable, also check that at least one subdirectory (beyond ., ..) exists and is writable. Because if not, dumpd will never be able to log any session received.
If the checks fails, stop immediately.
On startup of sshproxy-dumpd, check that the target directory (
-output) exists and is traversable (xpermission bit on POSIX).If the directory is readable but not writable, also check that at least one subdirectory (beyond
.,..) exists and is writable. Because if not, dumpd will never be able to log any session received.If the checks fails, stop immediately.