Merge pull request #29 from giuseppe/umask

fuse-overlayfs: set umask to 0
This commit is contained in:
Daniel J Walsh 2018-12-13 05:32:09 -08:00 committed by GitHub
commit e23a1e194f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
main.c
View File

@ -3678,6 +3678,8 @@ main (int argc, char *argv[])
error (EXIT_FAILURE, errno, "cannot open workdir");
}
umask (0);
se = fuse_session_new (&args, &ovl_oper, sizeof (ovl_oper), &lo);
lo.se = se;
if (se == NULL)