Permissions: Difference between revisions

adds user find
No edit summary
Line 81: Line 81:


The $USER must logout and login again to reload their group memberships. Alternatively, just issue <code>su - $USER</code> or <code>newgrp</code> (with no arguments); or start a new shell which will inherit the new group memberships.
The $USER must logout and login again to reload their group memberships. Alternatively, just issue <code>su - $USER</code> or <code>newgrp</code> (with no arguments); or start a new shell which will inherit the new group memberships.
== See Also ==
The linux command <code>namei</code> is very handy at showing you the directory traversal all the way to your destination to show ownership, permissions etc. Use the <code>-m</code> to show mode or <code>-l</code> to show a long listing
<pre>
namei -l /opt/data-meza/uploads/en/5/59/Geographylogo.png             
f: /opt/data-meza/uploads/en/5/59/Geographylogo.png
drwxr-xr-x root        root    /
drwxr-xr-x root        root    opt
lrwxrwxrwx root        root    data-meza -> /mnt/volume_nyc1_01/data/data-meza
drwxr-xr-x root        root      /
drwxr-xr-x root        root      mnt
drwxr-xr-x root        root      volume_nyc1_01
drwxr-xr-x root        root      data
drwxr-xr-x meza-ansible wheel      data-meza
drwxrwxr-x www-data    www-data uploads
drwxrwxr-x www-data    www-data en
drwxrwxr-x www-data    www-data 5
drwxrwxr-x www-data    www-data 59
-rw-rw-r-- www-data    www-data Geographylogo.png
</pre>


{{References}}
{{References}}


[[Category:Filesystems]]
[[Category:Filesystems]]