I want to find out who has what permissions on a certain folder. How would I go about viewing this?
The folder in question is /srv/www
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
On the command line you'd issue a
ls -la /srv/www. The part that is interesting for you is the second line.
Explanation of all columns:
total [NUMBER] [PERMISSIONS] [LINKS] [OWNER] [GROUP] [FILE SIZE] [MODIFICATION DATE] [ITEM]
total 52 drwxr-xr-x 15 root root 4096 2011-04-13 13:03 . drwxr-xr-x 23 root root 4096 2011-04-17 19:31 ..
Now the really interesting part for your is the line of the
. element as that represents the current directory.
The permissions of the current directory in my sample
drwxr-xr-x would mean the following:
To get the permissions in the GUI you would
Right-click the directory you want to know the permissions of and select
Click on the
Permissions tab to get this