daemon: change the default permissions of studios from 0700 to 0666

This commit is contained in:
Nedko Arnaudov 2010-05-19 01:43:10 +03:00
parent e82916b5d9
commit 2b6505d009
1 changed files with 1 additions and 1 deletions

View File

@ -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));