From 4175f969bdacf76113f74cc0e8d419aec845317f Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Tue, 22 Nov 2016 16:34:21 -0800 Subject: Make handling of -oallow_root easier to understand -oallow_root is handled in userspace, and requires passing -oallow_other to the kernel. This patch should make the code easier to understand and avoid the confusion that gave rise to issue #86. --- lib/fuse_i.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/fuse_i.h') diff --git a/lib/fuse_i.h b/lib/fuse_i.h index 1e99c6f..54466f6 100644 --- a/lib/fuse_i.h +++ b/lib/fuse_i.h @@ -47,7 +47,7 @@ struct fuse_session { int fd; struct mount_opts *mo; int debug; - int allow_root; + int deny_others; struct fuse_lowlevel_ops op; int got_init; struct cuse_data *cuse_data; -- cgit v1.2.3