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 :
Boot a live session on your laptop from installation DVD or USB. Within live session in the file manager identify your drive. Open terminal and change directory to your home folder on the drive.
With
sudo chmod 755 /path_to_your_home_folder
you can fix your file permissions.
Note: path to your home folder will be in the live session like this: /media/disk_UUID/home/username
No comments:
Post a Comment