From 6949cf716d7a4dcb5f0d6fb846946b3cda8b96e9 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Tue, 3 Mar 2020 14:24:09 +0100 Subject: [PATCH] lxcfs: use fuse's default_permissions Closes #128. Signed-off-by: Christian Brauner --- lxcfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lxcfs.c b/lxcfs.c index b378de0b..28a1b485 100644 --- a/lxcfs.c +++ b/lxcfs.c @@ -1135,9 +1135,9 @@ int main(int argc, char *argv[]) newargv[cnt++] = "-f"; newargv[cnt++] = "-o"; if (nonempty) - newargv[cnt++] = "allow_other,direct_io,entry_timeout=0.5,attr_timeout=0.5,nonempty"; + newargv[cnt++] = "default_permissions,allow_other,direct_io,entry_timeout=0.5,attr_timeout=0.5,nonempty"; else - newargv[cnt++] = "allow_other,direct_io,entry_timeout=0.5,attr_timeout=0.5"; + newargv[cnt++] = "default_permissions,allow_other,direct_io,entry_timeout=0.5,attr_timeout=0.5"; newargv[cnt++] = argv[1]; newargv[cnt++] = NULL;