aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-09-13 12:53:58 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-09-13 12:53:58 +0000
commitd7ea8cfb36a1abc9d35e4c10d3188568b7d62fa2 (patch)
tree3f93cb843097061b270232e341ef26aa45f9c7b3 /example
parent0d41f2f428036ffba0f669eceec2c99781314fe4 (diff)
downloadandroid_external_fuse-d7ea8cfb36a1abc9d35e4c10d3188568b7d62fa2.tar.gz
android_external_fuse-d7ea8cfb36a1abc9d35e4c10d3188568b7d62fa2.tar.bz2
android_external_fuse-d7ea8cfb36a1abc9d35e4c10d3188568b7d62fa2.zip
fix
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);
}