@@ -272,6 +272,7 @@ describe("security fix", () => {
|
272 | 272 | await fs.writeFile(authDatabasePath, "sqlite\n", "utf-8"); |
273 | 273 | await fs.writeFile(`${authDatabasePath}-wal`, "wal\n", "utf-8"); |
274 | 274 | await fs.writeFile(`${authDatabasePath}-shm`, "shm\n", "utf-8"); |
| 275 | +await fs.writeFile(`${authDatabasePath}-journal`, "journal\n", "utf-8"); |
275 | 276 | const authProfilesPath = path.join(agentDir, "auth-profiles.json"); |
276 | 277 | await fs.writeFile(authProfilesPath, "{}\n", "utf-8"); |
277 | 278 | await fs.chmod(authProfilesPath, 0o644); |
@@ -306,6 +307,7 @@ describe("security fix", () => {
|
306 | 307 | { path: authDatabasePath, mode: 0o600, require: "file" }, |
307 | 308 | { path: `${authDatabasePath}-wal`, mode: 0o600, require: "file" }, |
308 | 309 | { path: `${authDatabasePath}-shm`, mode: 0o600, require: "file" }, |
| 310 | +{ path: `${authDatabasePath}-journal`, mode: 0o600, require: "file" }, |
309 | 311 | { path: authProfilesPath, mode: 0o600, require: "file" }, |
310 | 312 | { path: sessionsDir, mode: 0o700, require: "dir" }, |
311 | 313 | { path: sessionsStorePath, mode: 0o600, require: "file" }, |
|