diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | example/fusexmp.c | 1 | ||||
-rw-r--r-- | example/fusexmp_fh.c | 1 |
3 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2005-09-13 Miklos Szeredi <miklos@szeredi.hu> + + * Set umask to zero in fusexmp and fusexmp_fh, so that + files/directories are created with the requested mode. + 2005-09-12 Miklos Szeredi <miklos@szeredi.hu> * Don't ignore read error in multithreaded loop 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); } |