How to preserve the permission/owner/group owner on the pubring.gpg, secring.gpg and trustdb.gpg

Werner Koch wk at gnupg.org
Wed Aug 6 20:58:55 CEST 2014


On Wed,  6 Aug 2014 16:57, sieutruc at gmail.com said:

> So that i cannot access to key store on using two accounts.

Which is in general not a good idea.  GnuPG is quite serious about
permissions and thus has no option to change that.

You may want to rethink your design.  userv(1) is your friend.

> Can you suggest to me any solution that will preserve the
> permission/user/group like as it was set originally.

grep for S_IWUSR and add group permissions.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-users mailing list