How can I find out owner and group of a directory in Ubuntu?
|
You can do this: 1st way:
*the third field in the ls -l output is the user and the fourth is the group 2nd way: stat /path/to/file
The razvan in the Uid field is the owner/user, the razvan in the Gid field is the group. 8-| 3rd way: Get only the user and group with stat:
|
|||||||||||
|
|
Run
Run
|
||||
|
|
|
To get the owner and group of a directory you need
Otherwise you get the attributes of the contents of the directory. |
|||
|
|
|
In Nautilus (the GUI file manager)
Providing you have the permission to change the permissions you can change them from that window, too. |
|||
|
|
