diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..082b194 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "makefile.configureOnOpen": false +} \ No newline at end of file diff --git a/src/libglacier.c b/src/libglacier.c index 71139e4..f5a49f7 100644 --- a/src/libglacier.c +++ b/src/libglacier.c @@ -520,7 +520,7 @@ mkworkspace(void) return 0; } else if (ENOENT == errno) { /* infolog("Creating new Glacier workspace..."); */ - if (mkdir(workspace_path, DEFAULT_PERMISSIONS) != 0) { + if (mkdir(workspace_path, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) != 0) { if (LG_VERBOSE == 1) { errlog("in mkworkspace()"); errlog("mkdir() failed to create workspace directory");