impr: engine - copy files with 444 permissions

This commit is contained in:
Anton
2024-01-17 23:27:59 +05:00
parent 3fd59120f5
commit 314987ae43
3 changed files with 26 additions and 5 deletions

View File

@@ -156,7 +156,7 @@ func (e *Docker) copyFiles(box *config.Box, dir string) error {
return nil
}
for _, pattern := range box.Files {
err := fileio.CopyFiles(pattern, dir)
err := fileio.CopyFiles(pattern, dir, 0444)
if err != nil {
return err
}