Home GnuPG
Diffusion GnuPG 0faf8951544f

Do not try to remove the enclosing directory of sockets.
0faf8951544fUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Do not try to remove the enclosing directory of sockets.

* agent/gpg-agent.c (remove_socket): Do not remove the enclosing
directory.
* scd/scdaemon.c (cleanup): Ditto.

The socket directory is now below /run or at ~/.gnupg. Thus we should
not try to remove the directory of the socket. The auto-removal was
introduced at a time we used a temporary directory for the sockets.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 8 2016, 9:04 AM
Parents
rG36550dde998f: common: New function gnupg_socketdir.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG0faf8951544f: Do not try to remove the enclosing directory of sockets. (authored by Werner Koch <wk@gnupg.org>).Jun 8 2016, 9:04 AM