Directory – Fix Folders Showing Lock Icon

directorygnome-documentshome-directorylock

Whenever I open my documents, all the folders in it are displayed with a lock icon. Therefore, I cannot delete any file or folder in it.

I tried changing the root access using sudo chmod user:directory/ but it fails. I am not able to delete or perform any file action with it.

What action should I perform to fix it?

Best Answer

Run the following to fix your home directory permissions:

sudo chown -R $USER: $HOME
Related Question