@@ -785,13 +785,18 @@ /* * Add FUSE arguments which we always supply */ fuse_opt_parse(&args, NULL, NULL, NULL); fuse_opt_add_arg(&args, "-odefault_permissions,fsname=appfs,use_ino,kernel_cache,entry_timeout=60,attr_timeout=3600,intr,big_writes"); + + if (getuid() == 0) { + fuse_opt_parse(&args, NULL, NULL, NULL); + fuse_opt_add_arg(&args, "-oallow_other"); + } /* * Enter the FUSE main loop -- this will process any arguments * and start servicing requests. */ return(fuse_main(args.argc, args.argv, &appfs_operations, NULL)); }