In case you messed up the permissions of you home dir. Here is a small guide to fix it:
1. Reset the permissions for the directories recursivly:
sudo find /home/user/ -type d -exec chmod 755 {} \;
2. and the permissions for all files too:
sudo find /home/user/ -type f -exec chmod 644 {} \;
3. Ensure that your GPG directory has the proper permissions:
sudo chmod -R 600 .gnupg/
sudo chmod 700 .gnupg/
If you don't want that other users can read your home folder (which not default in Ubuntu) change it's permission also:
sudo chmod 700 /home/user
That's it. Not that hard, if you know the right commands.
Keine Kommentare:
Kommentar veröffentlichen