fuse-overlayfs: set umask to 0

be sure we are able to set all the bits on created files/directories.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2018-12-11 22:08:13 +01:00
parent 1e2b65baa2
commit d49ce33689
No known key found for this signature in database
GPG Key ID: E4730F97F60286ED

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)