List permissions for all directories in a path
root@wintermute:~# namei -m /root/XenBackup/Xen_PXE_Install/webroot/
f: /root/XenBackup/Xen_PXE_Install/webroot/
drwxr-xr-x /
drwx—— root
drwxrwxrwx XenBackup
drwxrwxrwx Xen_PXE_Install
drwxrwxrwx webroot
Very useful to troubleshoot Apache2 403 permission errors when the document root has been changed from the default
This post is licensed under
CC BY 4.0
by the author.