From 4f65fe326294e35b52887fee69f7eaac10ed002c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Thu, 5 Mar 2020 17:47:49 +0100 Subject: [PATCH] add allow_other, allow_root --- workdirfs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workdirfs.py b/workdirfs.py index 3be0495..b52a460 100755 --- a/workdirfs.py +++ b/workdirfs.py @@ -311,7 +311,8 @@ def main(args): mountpoint = os.path.join(os.environ['HOME'], args.mountpoint) if not (os.path.isdir(mountpoint) or os.path.exists(mountpoint)): os.mkdir(mountpoint, 0o744) - FUSE(WorkdirFS(args), os.path.join(os.environ['HOME'], args.mountpoint), nothreads=True, foreground=True) + FUSE(WorkdirFS(args), os.path.join(os.environ['HOME'], args.mountpoint), + nothreads=True, foreground=True, allow_other=True, allow_root=True) if __name__ == '__main__': #main(sys.argv[2], sys.argv[1])