summaryrefslogtreecommitdiff
path: root/src/remount-api-vfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/remount-api-vfs.c')
-rw-r--r--src/remount-api-vfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/remount-api-vfs.c b/src/remount-api-vfs.c
index 5b1872833a..8bbc021dc4 100644
--- a/src/remount-api-vfs.c
+++ b/src/remount-api-vfs.c
@@ -52,6 +52,8 @@ int main(int argc, char *argv[]) {
log_parse_environment();
log_open();
+ umask(0022);
+
if (!(f = setmntent("/etc/fstab", "r"))) {
log_error("Failed to open /etc/fstab: %m");
goto finish;