Skip to content

Instantly share code, notes, and snippets.

@rcanepa
Created October 7, 2016 20:47
Show Gist options
  • Save rcanepa/f47dd80d4ae7bb3c3858f93a33d2a177 to your computer and use it in GitHub Desktop.
Save rcanepa/f47dd80d4ae7bb3c3858f93a33d2a177 to your computer and use it in GitHub Desktop.
Unix - Check permissions along a path
[root@alter-facturacion var]# namei -lom /var/www/simpleclerk/backoffice/index.html
f: /var/www/simpleclerk/backoffice/index.html
dr-xr-xr-x root root /
drwxr-xr-x root nginx var
drwxr-xr-x root nginx www
drwxr-xr-x root nginx simpleclerk
drwxr-xr-x root nginx backoffice
-rwxr-xr-x root nginx index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment