Modify umask to allow creation of files with group and world read permission

This commit is contained in:
Mike Brady
2015-02-11 23:52:44 +00:00
parent 9e1727574e
commit 7aab58fe7e
+3
View File
@@ -503,6 +503,9 @@ int main(int argc, char **argv) {
}
signal_setup();
// make sure the program can create files that group and world can read
umask(S_IWGRP | S_IWOTH);
config.output = audio_get_output(config.output_name);
if (!config.output) {