fix issues with mkworkspace()

This commit is contained in:
lw-everestlinux committed 2025-03-31 21:13:20 -04:00
1 parent 95813fade2
commit 1ed2fd33f0
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
{
"makefile.configureOnOpen": false
}
+1 -1
View File
@@ -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");