From b07475efeaed32ecf474d54eb1c057c71863cb37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 20 Mar 2015 03:06:06 +0100 Subject: [PATCH] qrexec: make the log writable by qubes group Otherwise if VM was started as root, it will never start as normal user again. --- qrexec/qrexec-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrexec/qrexec-daemon.c b/qrexec/qrexec-daemon.c index 298ef9a..37c8182 100644 --- a/qrexec/qrexec-daemon.c +++ b/qrexec/qrexec-daemon.c @@ -273,7 +273,7 @@ void init(int xid) umask(0007); // make the log readable by the "qubes" group logfd = open(qrexec_error_log_name, O_WRONLY | O_CREAT | O_TRUNC, - 0640); + 0660); if (logfd < 0) { perror("open");