Skip to content

Commit

Permalink
fix(dashmate): log permissions on linux system (#1479)
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov authored Oct 11, 2023
1 parent 1869314 commit fb65fe7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/dashmate/src/listr/tasks/startNodeTaskFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ function startNodeTaskFactory(
// Check Drive log files are created
if (config.get('platform.enable')) {
const prettyFilePath = config.get('platform.drive.abci.log.prettyFile.path');
ensureFileMountExists(prettyFilePath);
ensureFileMountExists(prettyFilePath, 0o666);

const jsonFilePath = config.get('platform.drive.abci.log.jsonFile.path');
ensureFileMountExists(jsonFilePath);
ensureFileMountExists(jsonFilePath, 0o666);

const tenderdashLogFilePath = config.get('platform.drive.tenderdash.log.path');
if (tenderdashLogFilePath !== null) {
ensureFileMountExists(tenderdashLogFilePath);
ensureFileMountExists(tenderdashLogFilePath, 0o666);
}
}

Expand Down

0 comments on commit fb65fe7

Please sign in to comment.