I have several partitions on my computer with different flavors of linux.
I've just installed kde and when I click the particular partition in the file manager, and enter the password the home directory of the other distro is still not available due to permission restrictions.
Is it possible to remove that permission restriction from the home directory?
Thanks
Normally the first user is UID 1000, so this probably explains why you can’t access the other directories.
You have two choices:
Alter the UIDs to match for all distros
Create a common group (with a common GID) for each distro, add your user to that group (in each distro) and then change group ownership of the directory to that group (chgrp).
For lots of information about Users and Groups check the Arch wiki page:
I was hoping he'd get that - if the guest creation included useradd -u 1001 I think the problem would disappear (or if the original user already had 1000, of course)
The easiest way to correct the permissions issue is to remove the Guest account completely from the system. The guest account can be removed with the Garuda welcome utility, or via this command:
sudo pacman -R systemd-guest-user
After removing the guest account, reassign your user account UID & GID to 1000.
Power down completely, then restart. Do not login to your desktop session, instead switch to a TTY. Press CTRL+ALT+F3 to get to TTY3, then login as root (not your user account):
On the root account enter the following commands (you must substitute your username for "user"):
usermod -u 1000 user
groupmod -g 1000 user
After successfully reasigning the UID & GID, switch back to the login screen with CTRL+ALT+F1. Then login to your normal desktop user account.
Your GID & UID should both now be 1000, but it won't hurt to double check on everthing.
Check that the UID/GID and file ownerships for your user account has been reset properly:
ls -l /home/$USER
id -u ls -l /home/$USER
id -g ls -l /home/$USER
grep $USER /etc/passwd
grep $USER /etc/group
SUCCESS!!!!!!!
Thanks a lot for all the help.
I bookmark this forum page in case in the future I end up with similar problem.
I've never seen such a beautiful implementation of plasma like this garuda flavor. Tomorrow, I install gnome on a different partition to see how it looks like. Probably, I will have to go through the same procedure changing UID and GID like with KDE.
Thanks a lot once again.