diff options
Diffstat (limited to 'src/cryptsetup-generator.c')
-rw-r--r-- | src/cryptsetup-generator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptsetup-generator.c b/src/cryptsetup-generator.c index db8ebdfb18..a340218fda 100644 --- a/src/cryptsetup-generator.c +++ b/src/cryptsetup-generator.c @@ -246,6 +246,8 @@ int main(int argc, char *argv[]) { log_parse_environment(); log_open(); + umask(0022); + if (!(f = fopen("/etc/crypttab", "re"))) { if (errno == ENOENT) |