mirror of
https://github.com/clearlinux/hyperstart.git
synced 2026-09-03 04:01:37 +00:00
Merge pull request #153 from bergwolf/volmode
set umask when setting up container rootfs
This commit is contained in:
@@ -533,6 +533,9 @@ static int hyper_setup_container_rootfs(void *data)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
/* To create files/directories accessible for all users. */
|
||||
umask(0);
|
||||
|
||||
if (hyper_rescan_scsi() < 0) {
|
||||
fprintf(stdout, "rescan scsi failed\n");
|
||||
goto fail;
|
||||
|
||||
Reference in New Issue
Block a user