Is there a specific command that will display the owner, group, and permissions for a user or will I need to run more than one command?

I just created the user "guest" in the /home/ directory and would like to display this information. What command(s) can I use to find out this information? Are there even ownership for users or does that only apply to directories?

  • Owner group and permissions are associated with files, not users, so you probably want something like ls -ld /home/guest
    – thrig
    Commented Mar 21, 2017 at 14:15

2 Answers 2

  1. Owner: None, users do not have owners.

  2. Groups:

    groups guest
  3. Permissions (Gnome GUI, part of gnome-system-tools package on Ubuntu variants):


Permissions are for files and directories. There are separate permissions for the owner and a group. Users can belong to groups.

To show the permissions for files and directories:

ls -l <filename | directory>

To show the groups a user belongs to

groups <username>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .