mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-05 19:47:53 +00:00
Merge pull request #50 from markdryan/fix-perms
qemu/image: Reduce permissions of .iso creation dir
This commit is contained in:
commit
66bfe83589
@ -49,8 +49,7 @@ func CreateCloudInitISO(ctx context.Context, scratchDir, isoPath string,
|
||||
_ = os.RemoveAll(configDrivePath)
|
||||
}()
|
||||
|
||||
/* #nosec */
|
||||
err := os.MkdirAll(dataDirPath, 0755)
|
||||
err := os.MkdirAll(dataDirPath, 0750)
|
||||
if err != nil {
|
||||
return fmt.Errorf("Unable to create config drive directory %s : %v",
|
||||
dataDirPath, err)
|
||||
|
Loading…
Reference in New Issue
Block a user