From d6bab031502ae99c182c5e1f71f4662346d93864 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 5 May 2020 15:01:07 +0100 Subject: [PATCH] gdbusauthmechanismsha1: Fix keyring lock file permissions Why should it have the sticky bit set? dbus.git sets permissions 0600; so should GLib. Signed-off-by: Philip Withnall --- gio/gdbusauthmechanismsha1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gdbusauthmechanismsha1.c b/gio/gdbusauthmechanismsha1.c index 7305f8df8..0d58b1321 100644 --- a/gio/gdbusauthmechanismsha1.c +++ b/gio/gdbusauthmechanismsha1.c @@ -518,7 +518,7 @@ keyring_acquire_lock (const gchar *path, #else 0, #endif - 0700); + 0600); errsv = errno; if (ret == -1) {