mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 04:15:52 +00:00
fix: create explicit CODEX_HOME with secure permissions (#1380)
This commit is contained in:
1 parent
90d5ca2cbb
commit
55cd78bce4
2 files changed
+4
-2
No files matched your search
@@ -222,7 +222,7 @@ function prepareExplicitCodexHome(
|
||||
}
|
||||
|
||||
try {
|
||||
fs.mkdirSync(codexHome, { recursive: true });
|
||||
fs.mkdirSync(codexHome, { mode: 0o700, recursive: true });
|
||||
} catch (err) {
|
||||
const error = err as NodeJS.ErrnoException;
|
||||
if (error.code !== 'EEXIST') {
|
||||
|
||||
Reference in new issue
Block a user