Question: what are uid and gid?
Answer: UID (User Identifier) and GID (Group Identifier) A UID (user identifier) is a number assigned by Linux to each user on the system. This number is used to identify the user to the system and to determine which system resources the user can access.