How do I list the owners and privileges for a directory?
hi! You can do this by running
ls -l in the directory of your choosing
alternatively, you can do
ls -l /home/user/my-dir-name
@grump is correct in using
ls -l as described. You can also use the
-a switch to see hidden files. Like so:
$ ls -la
If you are feeling lazy and don't want to type that every time, you can always make an alias.
$ alias ls='ls -la'
You can see our full guide on file permissions here