projects
/
platform
/
upstream
/
systemd.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
c81c5f6
..
2ffe944
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);