Overview
Comment: | More work towards adding support for automatic options |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | tcl-ops |
Files: | files | file ages | folders |
SHA1: | 317348f60e7d9850f0ad2846a13b1f4320ec2a11 |
User & Date: | rkeene on 2014-11-07 06:48:54 |
Other Links: | manifest | tags |
Context
2014-11-07
| ||
06:52 | Added appropriate subtype check-in: 8eb7be2398 user: rkeene tags: tcl-ops | |
06:48 | More work towards adding support for automatic options check-in: 317348f60e user: rkeene tags: tcl-ops | |
06:47 | Added start of supplying default options check-in: a7e9dac6ce user: rkeene tags: tcl-ops | |
Changes
Modified appfsd.c from [71ddae3095] to [99b621ee4d].
783 783 } 784 784 785 785 /* 786 786 * Add FUSE arguments which we always supply 787 787 */ 788 788 fuse_opt_parse(&args, NULL, NULL, NULL); 789 789 fuse_opt_add_arg(&args, "-odefault_permissions,fsname=appfs,use_ino,kernel_cache,entry_timeout=60,attr_timeout=3600,intr,big_writes"); 790 + 791 + if (getuid() == 0) { 792 + fuse_opt_parse(&args, NULL, NULL, NULL); 793 + fuse_opt_add_arg(&args, "-oallow_other"); 794 + } 790 795 791 796 /* 792 797 * Enter the FUSE main loop -- this will process any arguments 793 798 * and start servicing requests. 794 799 */ 795 800 return(fuse_main(args.argc, args.argv, &appfs_operations, NULL)); 796 801 } 797 802