diff options
-rw-r--r-- | src/machine/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/image.c b/src/machine/image.c index c81c5f6281..2ffe9444e3 100644 --- a/src/machine/image.c +++ b/src/machine/image.c @@ -167,7 +167,7 @@ static int image_make(int dfd, const char *name, const char *path, Image **ret) r = image_new(IMAGE_GPT, name, path, - !!(st.st_mode & 0111), + !!(st.st_mode & 0222), timespec_load(&st.st_mtim), 0, ret); |