chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
machined: fix writability check for GPT images
[elogind.git]
/
src
/
machine
/
image.c
diff --git
a/src/machine/image.c
b/src/machine/image.c
index c81c5f628179a6e8e7e7c02c4647aa72f3b19023..2ffe9444e3e511a4a20a65d15acf1d2681d2ecdf 100644
(file)
--- 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 & 0
111
),
+ !!(st.st_mode & 0
222
),
timespec_load(&st.st_mtim),
0,
ret);