Adjust umask during overlay build

- Fixes: #1629

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-01-15 10:13:19 -07:00
parent abc2bd884b
commit c33b4dd4c2
2 changed files with 9 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
}
}
oldMask := syscall.Umask(007)
oldMask := syscall.Umask(000)
defer syscall.Umask(oldMask)
if len(OverlayNames) > 0 {