I often find that, when I'm confronted with a filesystem access failure, during that lovely "wtf?" moment, I often mutter (and type) pathlld
(a bash
script)
$ pathlld -h
pathlld [-f] [-h] [-l] [-m] <file> ...
pathlld: Use /bin/ls -ld to show permissions and ownerships for
pathlld: each directory in the path for <file>.
pathlld: -f Process nonexistent <file>s, to
pathlld: see existing parts of path to <file>.
pathlld: -l If a path component is a soft-link, do /bin/ls -Lld, too.
pathlld: -m Show mount info for any path component.
pathlld: that is a mountpoint.
pathlld: -s Start at /, work all the way down to <file>.
pathlld: -v Turn on verbose output to STDERR.
pathlld: -h This help.
I would like to publish this tool. Can I do it via AskUbuntu?