Quantcast
Channel: What are the correct permissions for the .gnupg enclosing folder? gpg: WARNING: unsafe enclosing directory permissions on configuration file - Super User
Browsing latest articles
Browse All 5 View Live

Answer by Craig Hicks for What are the correct permissions for the .gnupg...

These two lines will set the permissions separately and correctly for directories and files: find ~/.gnupg -type d -exec chmod 700 {} \; find ~/.gnupg -type f -exec chmod 600 {} \; assuming ownership...

View Article



Answer by tc88 for What are the correct permissions for the .gnupg enclosing...

Although Jens Erat already mentioned it in his last sentence, I think it should be stressed that any folders inside ~/.gnupg must be executable (mode 700) as well. This holds especially for the...

View Article

Answer by Jens Erat for What are the correct permissions for the .gnupg...

GnuPG by default enforces secure access privileges, which means nobody else (but you) can access your GnuPG home directory ~/.gnupg. These access privileges often are not strict enough after copying...

View Article

Answer by Alex Stragies for What are the correct permissions for the .gnupg...

Yes, you will also need to fix the permissions of the enclosing directory ~/.gnupg Because an attacker with enough rights on the folder could manipulate folder contents. Execute the following commands:...

View Article

What are the correct permissions for the .gnupg enclosing folder? gpg:...

I don't want to just chmod and run until I get the right answer, nor do I want to run GnuPG as root. The easy fix would be to just set it so that only my user can read it, but I don't think that's the...

View Article

Browsing latest articles
Browse All 5 View Live




Latest Images