Given a directory, lsperm can be used to list the permissions of all the
parent directories in one go.
Useful when there are problems accessing a file or directory even if the
user has access to it and you want to search the whole tree to see
whether a permit is missing somewhere else.
Example: sh lsperm /usr/lpp/netview/bin/
drwxr-xr-x 3 BBMPAS SYS#ZENT 8192 Jan 8 2002 /usr/lpp/netview/bin/
drwxr-xr-x 3 BBMPAS SYS#ZENT 8192 Jan 8 2002 /usr/lpp/netview/bin
drwxr-xr-x 9 BBMPAS SYS#ZENT 8192 Aug 27 2001 /usr/lpp/netview
drwxr-xr-x 41 BBMPAS FWGRP 8192 May 8 2002 /usr/lpp
lrwxrwxrwx 1 BBMPAS FWGRP 12 Feb 19 2001 /usr -> /VERSION/usr
|