Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: On 1001 group exist readily at some file or directories (Read 659 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

On 1001 group exist readily at some file or directories

How could 1001 group exist readily at some file or directories' group owner, what is it and its function as it's not in
Code: [Select]
$ groups 
log network scanner power autologin users video storage optical lp audio wheel mardiyah

or in /etc/group ?


 

Re: On 1001 group exist readily at some file or directories

Reply #1
Which exact files and directories have this GID and which are their UIDs?

GID 1001 is a default group for UID 1001 which is default UID for a second created user in your system. Possible explanation of the existence of this GID may be as following: in one of your systems you added a second used and created some files and directories with it. Then you reinstalled your system, backed up your files in your home directory, and GID (together with UID, possibly) of that user persisted in the ownership properties of those files.

UIDs and GIDs are stored in files' metadata in inodes, that's why it's theoretically possible to have files belonging to nonexistent users and groups if you add or remove these. So, it's up to user or administrator to keep the consistency of files' ownership in the system.