After having some trouble with Tuxedo os I decided to reinstall Kubuntu 23.10 now I notice that 90% of my home folder files have group permissions set to 1001. When I search /etc/passwd for 1001 I find nothing. Anybody know what's going on?
Announcement
Collapse
No announcement yet.
Group 1001
Collapse
X
-
Did you install Kubuntu over Tuxedo, keeping/not formatting the /home directory by chance?Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
-
1001 is the GID usually used as the Group ID for the first user account. This is correct, in terms of the ID number. The User ID (UID) should also be 1001. These are independent of the actual names.
I am going to guess that your $HOME is a separate partition, or restored, and may have been using a different username?
You should be able to remedy this by chown-ing your files to both your username and group name (normally the same as the username):
sudo chown -R username:username /home/username
- Top
- Bottom
Comment
-
Originally posted by claydoh View Post1001 is the GID usually used as the Group ID for the first user accountWindows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
- Top
- Bottom
Comment
-
No. But the chown will set it correctly in either case.
Different distros may use different default numbers by default, as well, or the account may not have been the first one created on a previous install (and thus have a higher UID and GID number)
- Top
- Bottom
Comment
-
Thank you claydoh and Snowhog. Yes I installed Kubuntu while keeping the /home directory and for some reason most files have 1001 as group and $USER as user. 1000 is the user number btw. I think I'm going to follow claydoh's suggestion and run sudo chown -R username:username /home/username. I had thought of doing this but wanted to run it past you guys to make sure it wouldn't get into trouble.
- Top
- Bottom
Comment
-
Originally posted by claydoh View Post1001 is the GID usually used as the Group ID for the first user account.
IME seeing user or group IDs instead of names occurs when copying files from other installs.Regards, John Little
- Top
- Bottom
Comment
Comment