How to preserve the permission/owner/group owner on the pubring.gpg, secring.gpg and trustdb.gpg
Peter Lebbing
peter at digitalbrains.com
Thu Aug 7 14:02:33 CEST 2014
On 07/08/14 13:44, Sieu Truc wrote:
> In Linux, it seems impossible to use traditional permission, because one
> file can have only one user, one group (other -all the others) , and the
> owner of the file cannot transfer his right to the other.
Can you point out where the solution I proposed would go wrong? Is it
the ownership of secring.gpg when test1 adds something? Perhaps it goes
wrong when the owner bounces between admin and test1. You might want to
amend /etc/group:
gpgsecwrite:x:n:admin,test1
That way, they can both still read and write the file even when the
owner changes to test1. Before, I think admin got locked out then.
Oopsie :).
Is the problem that you are porting an existing system from Windows to
Linux? Is that why you are so constrained in the possible solutions?
Peter.
--
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>
More information about the Gnupg-users
mailing list