I guess I need some help from an advanced Unix user...
On a Ubuntu System I did something stupid. I typed
sudo chmod 774 .* or the like, in a subfolder of my home folder and then I suddenly could not change the directory to my home directory anymore.
I'm not quite sure about the exact numbers in the command, but I am sure about the
Now, after a reboot, I can't even log into the GUI anymore and when I
Ctrl + Alt + F1 into a console and log in, I get the message
No directory, logging in with HOME=/.
When I then try to
/home/myusername, I get the error:
-bash: cd: /home/myusername: Permission denied. Also,
ls can't access the folder.
I checked the permissions of
/home/myusername using sudo, and they are all correctly set to:
drwxr-xr-x 25 myusername myusername 4096 Aug 26 17:30 myusername
A testuser, that I created, has the same promblems. It cannot log into the GUI, either. Only a guest session can do it (I guess that is because the guest home folder is created inside
What do I need to do, to restore my permissions/get access to my home folder again??? Any suggestions?