if I login to console I end up in /. If I login with sddm I get logged out again immediately. Both logins leave messages about cannot cd because my home directory does not exist.
It is a new install with no important data, So I created a new user with
useradd -m newuser which has the same problem.
After login on console I can cd to the home directory without problem and see all files. File access looks unsuspicious to me:
❯ ls -lag /dev/shm/home/joachim
drwxr-xr-x@ - joachim 100 18 Jan 17:24 .
drwxr-xr-x - root root 18 Jan 17:16 ..
drwx------@ - joachim 100 24 Sep 2025 .cache
drwx------@ - joachim 100 24 Sep 2025 .config
drwx------@ - joachim 100 18 Jan 01:31 .local
.rw-------@ 58 joachim 100 18 Jan 17:24 .bash_history
.rw-r-----@ 604 joachim 100 11 Dez 2025 .bashrc
.rw-r--r--@ 1,6k joachim 100 11 Nov 2025 .emacs
.rw-r--r--@ 599 joachim 100 1 Sep 2022 .i18n
.rw-r--r--@ 861 joachim 100 11 Nov 2025 .inputrc
.rw-r-----@ 856 joachim 100 11 Dez 2025 .profile
.rw-r--r--@ 2,0k joachim 100 1 Sep 2022 .xim.template
Only thing out of normal new tumbleweed install was, I had a lot of trouble finding a partition layout that grub was able to boot tumbleweed from and while cleaning up partition mess, I also deleted the home partition. I recreated it and adapted the blockid in /etc/fstab (from a cachyos live iso, if that matters), deleted my user and recreated it as well.
That is when this login trouble started.
So, the question is: why can a xfs home directory created with cachyos not be used on tumbleweed? Is there some security mechanism going on?
The ls is done on cachyos which does not have a group with id 100. But it has my user with the same uid 1000.
Anyways the group ownership should not influence the ability to cd to it
sorry, wasn’t my intention. I assumed it is impossible to copy&paste stuff into a browser to post it to the forum without a gui session so I thought this is obvious. It is not. I now realized I still can run a gui session as root.
knurpht@Lenovo-P16:~/Install/ISO> ls -l /home/
totaal 0
drwx------ 1 beheerder beheerder 354 18 feb 2025 beheerder
drwxr-xr-x 1 knurpht users 4770 15 jan 02:36 knurpht
knurpht@Lenovo-P16:~/Install/ISO>
FWIW: User beheerder ( NL for admin ) is always from the initial install. User knurpht is added when system and DE setup are done, and only restore of /home/knurpht remains.
Hm, yast creates users with group “users” and useradd with group=username. Strange
…but unfortunately the group id has nothing to do with my login problem.
No difference if I create the user with yast (main group users) or useradd (main group joachim): gui login is not possible and console login refuses to cd to /home/joachim.
Otoh, su - joachim has no problem at all. WTF!