Home GnuPG
Diffusion GnuPG fdc54850263b

wkd: Minor permission fix for created files.

Description

wkd: Minor permission fix for created files.

* tools/wks-util.c (wks_cmd_install_key): Don't set u+x on the file.
(ensure_policy_file): No need to make the policy file group writable.

The policy file is rarely changed thus no need to g+w. Setting +x on
a plain file does not make sense at all.

(cherry picked from commit c008e8d20e12c8845403ad7dad499f6a196ecc6a)