diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-09-16 17:51:25 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-09-16 18:48:36 +0200 |
commit | 5332d7c6ff3c56340c7477e1e7604f61092a2868 (patch) | |
tree | 2efce0a6949987788639ff616527bcc30834932f /src/partition | |
parent | Merge pull request #17076 from poettering/dissect-cleanup (diff) | |
download | systemd-5332d7c6ff3c56340c7477e1e7604f61092a2868.tar.xz systemd-5332d7c6ff3c56340c7477e1e7604f61092a2868.zip |
repart: don't mark image files generated with --empty=create executable
Diffstat (limited to 'src/partition')
-rw-r--r-- | src/partition/repart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partition/repart.c b/src/partition/repart.c index 28c9de7b2b..83582b4691 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -3833,7 +3833,7 @@ static int find_root(char **ret, int *ret_fd) { if (!s) return log_oom(); - fd = open(arg_node, O_RDONLY|O_CREAT|O_EXCL|O_CLOEXEC|O_NOFOLLOW, 0777); + fd = open(arg_node, O_RDONLY|O_CREAT|O_EXCL|O_CLOEXEC|O_NOFOLLOW, 0666); if (fd < 0) return log_error_errno(errno, "Failed to create '%s': %m", arg_node); |