Lines Matching refs:derive
66 * This daemon can also derive custom filesystem permissions based on directory
147 /* Permissions structure to derive */
216 derive_t derive;
432 if (fuse->derive == DERIVE_NONE) {
436 /* Derive custom permissions based on parent and current node */
509 if (fuse->derive == DERIVE_NONE) {
533 if (fuse->derive == DERIVE_NONE) {
685 gid_t write_gid, derive_t derive, bool split_perms) {
690 fuse->derive = derive;
703 switch (derive) {
1725 i = (fuse->derive == DERIVE_NONE) ? 1 : 0;
1735 if (fuse->derive == DERIVE_NONE) {
1756 " -d: derive file permissions based on path\n"
1757 " -l: derive file permissions based on legacy internal layout\n"
1764 gid_t gid, gid_t write_gid, int num_threads, derive_t derive,
1808 fuse_init(&fuse, fd, source_path, write_gid, derive, split_perms);
1830 derive_t derive = DERIVE_NONE;
1851 derive = DERIVE_UNIFIED;
1854 derive = DERIVE_LEGACY;
1897 if (split_perms && derive == DERIVE_NONE) {
1908 res = run(source_path, dest_path, uid, gid, write_gid, num_threads, derive, split_perms);