X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fmachine%2Fimage.c;fp=src%2Fmachine%2Fimage.c;h=2ffe9444e3e511a4a20a65d15acf1d2681d2ecdf;hb=51929718dd2dc056f841a97e79efb48a8d8fd64b;hp=c81c5f628179a6e8e7e7c02c4647aa72f3b19023;hpb=4a4d89b682d2a8d32e899c4b47950f64df74fb7c;p=elogind.git diff --git a/src/machine/image.c b/src/machine/image.c index c81c5f628..2ffe9444e 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);