File perms for conf files

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Jan 3 08:55:46 CET 2017


On Sat 2016-12-31 14:59:48 -0500, Robert J. Hansen wrote:
>> I'm now at the point where I need to restore files
>> from a zip archive, and part of that means ensuring I have the correct
>> POSIX permissions on each file.
>
> I'm going with 0x0644 (-rw-r--r--) on the .conf files, 0x0755
> (-rwxr-xr-x) on the directories, and 0x0600 (-rw-------) on all files
> other than .confs.

I think this is going to result in a warning about too-loose permissions
for the .gnupg directory itself, which should probably be 0700.

hth,

    --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: </pipermail/attachments/20170103/5b7e8354/attachment.sig>


More information about the Gnupg-users mailing list