aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/fusexmp.c1
-rw-r--r--example/fusexmp_fh.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/example/fusexmp.c b/example/fusexmp.c
index 95d26b3..1ef0ac3 100644
--- a/example/fusexmp.c
+++ b/example/fusexmp.c
@@ -348,5 +348,6 @@ static struct fuse_operations xmp_oper = {
int main(int argc, char *argv[])
{
+ umask(0);
return fuse_main(argc, argv, &xmp_oper);
}
diff --git a/example/fusexmp_fh.c b/example/fusexmp_fh.c
index 432ff6f..f1c08f8 100644
--- a/example/fusexmp_fh.c
+++ b/example/fusexmp_fh.c
@@ -348,5 +348,6 @@ static struct fuse_operations xmp_oper = {
int main(int argc, char *argv[])
{
+ umask(0);
return fuse_main(argc, argv, &xmp_oper);
}