Sample Header Ad - 728x90

Can't change to Home directory on log in from console

2 votes
1 answer
366 views
I've been having a strange problem with my Fedora 39 install. I don't have a display manager, so the computer boots to the console. When I log in as my user, I get an error: -- fab: /home/fab: change directory failed: Permission denied Logging in with home = "/" Once I'm logged in, I can cd to my home (/home/fab) and start my graphics session. I have verified that in /etc/passwd, my home is indeed /home/fab and not / My user "fab" owns /home/fab, the directory is rw, /home is mounted as rw, and my user can modify/delete/create files and directories in /home/fab Have I missed something obvious? Does anybody have an idea what's going on? Thanks! **Edit**: I have tried to ssh fab@machine and su - fab on this machine from the console once logged in; I tried with the fab account, and the root account; every time, I was asked for my password (I don't have ~/.ssh/authorized_keys setup), and I was directly logged in in the HOME directory, with no message of permission denied. I also tried from another machine with ssh fab@machine, and was logged in directly in HOME again, with no permission error. So it seems that the permission error only occurs when I log in on the console of the machine! Furthermore, the machine from which I sshed is also under Fedora 39, and I logged in in the console (but there is also a display manager running), and I didn't get the permission error. So there is a misconfiguration on the machine which gives the error, but where? Thanks again for the inputs!
Asked by user3605616 (21 rep)
May 1, 2024, 04:28 PM
Last activity: May 3, 2024, 12:58 PM