Till yesterday login to our Ubuntu-20.04 LTS was working fine, But today suddenly it started showing below error while trying to login.
SFTP error#3: Permission denied
$ ls
ls: cannot open directory '.': Permission denied
We have not modified any settings then Why do i get "permission denied" even when user has sudo privileges?
Have tried to change the permisison using below command, however didn't help.
chown -R devuser:devuser /home/devuser
Best Answer
The below command helped to solve the issue.
It was a permission issue, therefore with above command able to get ride.