Can anyone help me, I cant log-in to my laptop. Looks like its just looping back to the login screen.
What may have caused it, I was downloading a dataset from Kaggle. Then I had to open the terminal and and type chmod 600 ~/.kaggle/kaggle.json (as shown here), I got an error so I put sudo chmod 600 ~/ pathname When I ran the second command It couldn't find the path and when I checked my files/folder in home it said "You dont have the permission to access these files". I have tried the following methods from AskUbuntu forum:
But the problem still exists. After using the first method I see the following output on my terminal
but I am still stuck at the login loop.
EDIT : The image I get after running the this command find ~vat26 ! \( -readable -writable -user vat26 \( ! -type d -o -executable \) \) -ls |& tee /tmp/vat26-permissions.log (as asked by @David Foerster) is this :


df -h) as if you've got no space for necessary temporary files in your $HOME directory, login will stop & return you to login screen. If you have space, permissions would be next... – guiverc Mar 14 '18 at 06:59sudo -u vat26 find ~vat26 ! \( -readable -writable -user vat26 \( ! -type d -o -executable \) \) -ls |& tee /tmp/vat26-permissions.log(skip thesudo -u vat26prefix if you're already logged in as uservat26). This will also save the output to a file/tmp/vat26-permissions.logwhich you can then share as described in the answers to the questions linked in my previous comment. Thanks. – David Foerster Mar 14 '18 at 10:16sudo chmod 755 ~vat26should fix the permission issue introduced bychmod 600 ~/(as by your question), which is essentially the same as kukulo's answer and the accepted answer to one of the linked question. – David Foerster Mar 14 '18 at 10:27