From 2b6505d0098d573eba31e9fa534790e372211e33 Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Wed, 19 May 2010 01:43:10 +0300 Subject: [PATCH] daemon: change the default permissions of studios from 0700 to 0666 --- daemon/cmd_save_studio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/cmd_save_studio.c b/daemon/cmd_save_studio.c index 98e76181..a102ebfd 100644 --- a/daemon/cmd_save_studio.c +++ b/daemon/cmd_save_studio.c @@ -772,7 +772,7 @@ static bool run(void * command_context) log_info("saving studio... (%s)", g_studio.filename); - fd = open(g_studio.filename, O_WRONLY | O_TRUNC | O_CREAT, 0700); + fd = open(g_studio.filename, O_WRONLY | O_TRUNC | O_CREAT, 0666); if (fd == -1) { log_error("open(%s) failed: %d (%s)", g_studio.filename, errno, strerror(errno)); -- 2.11.4.GIT