tRemove executable bit from socket - safe - password protected secret keeper
(HTM) git clone git://git.z3bra.org/safe.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit b56e39e8835092c7b557297abf47860b3737480a
(DIR) parent 6907eb1ddbe9042e63a63d9fca702a2cd20302d2
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 24 Jun 2019 12:05:32 +0200
Remove executable bit from socket
Diffstat:
M safe-agent.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/safe-agent.c b/safe-agent.c
t@@ -103,7 +103,7 @@ creatsock(char *sockpath)
if (sfd < 0)
return -1;
- umask(0077);
+ umask(0177);
memset(&addr, 0, sizeof(addr));
addr.sun_family = AF_UNIX;
strcpy(addr.sun_path, sockpath);