Skip to content

Commit

Permalink
copy realm file with permissions (#139)
Browse files Browse the repository at this point in the history
resolves #137
  • Loading branch information
dasniko authored Apr 29, 2024
1 parent 1d5e9bb commit e9c6751
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ protected void configure() {
for (String importFile : importFiles) {
// TODO: a strategy for files with the same name but in the different dirs
String importFileInContainer = DEFAULT_REALM_IMPORT_FILES_LOCATION + FilenameUtils.getName(importFile);
withCopyFileToContainer(MountableFile.forClasspathResource(importFile), importFileInContainer);
withCopyFileToContainer(MountableFile.forClasspathResource(importFile, 0644), importFileInContainer);
}
}

Expand Down

0 comments on commit e9c6751

Please sign in to comment.