mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-13 09:17:42 -04:00
Merge pull request #29 from giuseppe/umask
fuse-overlayfs: set umask to 0
This commit is contained in:
commit
e23a1e194f
2
main.c
2
main.c
@ -3678,6 +3678,8 @@ main (int argc, char *argv[])
|
|||||||
error (EXIT_FAILURE, errno, "cannot open workdir");
|
error (EXIT_FAILURE, errno, "cannot open workdir");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
umask (0);
|
||||||
|
|
||||||
se = fuse_session_new (&args, &ovl_oper, sizeof (ovl_oper), &lo);
|
se = fuse_session_new (&args, &ovl_oper, sizeof (ovl_oper), &lo);
|
||||||
lo.se = se;
|
lo.se = se;
|
||||||
if (se == NULL)
|
if (se == NULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user