Skip to content

Commit

Permalink
experiment: file permissions for kafka persistence in a test updated (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrinot authored Apr 5, 2024
1 parent f9f26bc commit 8ddb879
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ private static KafkaContainer newKafkaContainer(int id) {

// create world-writable directory
Files.createDirectories(kafkaData, PosixFilePermissions.asFileAttribute(rwxrwxrwx));
Files.setPosixFilePermissions(kafkaData, rwxrwxrwx);
Files.setPosixFilePermissions(kafkaData.getParent(), rwxrwxrwx);
Files.setPosixFilePermissions(kafkaData.getParent().getParent(), rwxrwxrwx);
// p.of(kafkaData.toAbsolutePath().toString());
// io.questdb.std.Files.mkdirs(p, 0_777);
StringBuilder votersBuilder = new StringBuilder();
Expand Down

0 comments on commit 8ddb879

Please sign in to comment.