From 2b9b001db998549348b7c01635908304580b2243 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 17 Apr 2026 15:42:47 +1000 Subject: [PATCH] eis: our socket lockfile doesn't need group permissions Assisted-by: Claude:claude-opus-4-6 Part-of: --- src/libeis-socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libeis-socket.c b/src/libeis-socket.c index 25199fb..c743836 100644 --- a/src/libeis-socket.c +++ b/src/libeis-socket.c @@ -147,7 +147,7 @@ eis_setup_backend_socket(struct eis *eis, const char *socketpath) * socket file. */ _cleanup_free_ char *lockfile = xaprintf("%s.lock", path); _cleanup_close_ int lockfd = - open(lockfile, O_CREAT | O_CLOEXEC | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); + open(lockfile, O_CREAT | O_CLOEXEC | O_RDWR, S_IRUSR | S_IWUSR); int rc = flock(lockfd, LOCK_EX | LOCK_NB); if (rc < 0) { log_error(eis, "Failed to create lockfile %s, is another EIS running?", lockfile);