chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4a4d89b
)
machined: fix writability check for GPT images
author
Lennart Poettering
<lennart@poettering.net>
Wed, 24 Dec 2014 15:40:30 +0000
(16:40 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 24 Dec 2014 15:53:05 +0000
(16:53 +0100)
src/machine/image.c
patch
|
blob
|
history
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,
r = image_new(IMAGE_GPT,
name,
path,
- !!(st.st_mode & 0
111
),
+ !!(st.st_mode & 0
222
),
timespec_load(&st.st_mtim),
0,
ret);
timespec_load(&st.st_mtim),
0,
ret);