Wolf
2016-06-30 23:58:20 UTC
Greetings,
I'm in need of changing the path to the agent socket, but I cannot find
a way to do so. My problem:
gpg-agent normally runs in /run/user/1000/gnupg/S.gnu-agent , which is
completely fine. However, when building packages (archlinux, makepkg),
the building/signing is done in fakeroot environment. Therefore the
socket path default to ~/.gnupg/S.gnu-agent. Because (at least it seems
to me) in fakeroot I am root (0) and therefore don't own /run/user/1000
(1000).
What would be a good way to solve this issue?
Thanks for any help,
W.
I'm in need of changing the path to the agent socket, but I cannot find
a way to do so. My problem:
gpg-agent normally runs in /run/user/1000/gnupg/S.gnu-agent , which is
completely fine. However, when building packages (archlinux, makepkg),
the building/signing is done in fakeroot environment. Therefore the
socket path default to ~/.gnupg/S.gnu-agent. Because (at least it seems
to me) in fakeroot I am root (0) and therefore don't own /run/user/1000
(1000).
What would be a good way to solve this issue?
Thanks for any help,
W.
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.