diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-24 16:40:30 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-24 16:53:05 +0100 |
commit | 51929718dd2dc056f841a97e79efb48a8d8fd64b (patch) | |
tree | 44fcd609220f72ece3d45d1eefbba4fd90c39ada /src/machine/image.c | |
parent | 4a4d89b682d2a8d32e899c4b47950f64df74fb7c (diff) |
machined: fix writability check for GPT images
Diffstat (limited to 'src/machine/image.c')
-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); |