Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2017jan29 OS: Linux Q. How can I follow a path and show permissions along the way? A. Use the namei command. Its man page says:follow a pathname until a terminal point is foundExample:namei -l /var/mail/myuserf: /var/mail/myuser dr-xr-xr-x root root / drwxr-xr-x root root var lrwxrwxrwx root root mail -> spool/mail drwxr-xr-x root root spool drwxrwxr-x root mail mail -rw-rw---- myuser mail myuser
Add a commentSign in to add a comment