fix issues with mkworkspace()
This commit is contained in:
1 parent
95813fade2
commit
1ed2fd33f0
2 files changed
+4
-1
No files matched your search
Vendored
+3
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"makefile.configureOnOpen": false
|
||||||
|
}
|
||||||
+1
-1
@@ -520,7 +520,7 @@ mkworkspace(void)
|
|||||||
return 0;
|
return 0;
|
||||||
} else if (ENOENT == errno) {
|
} else if (ENOENT == errno) {
|
||||||
/* infolog("Creating new Glacier workspace..."); */
|
/* 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) {
|
if (LG_VERBOSE == 1) {
|
||||||
errlog("in mkworkspace()");
|
errlog("in mkworkspace()");
|
||||||
errlog("mkdir() failed to create workspace directory");
|
errlog("mkdir() failed to create workspace directory");
|
||||||
|
|||||||
Reference in new issue
Block a user