Skip to content

Commit

Permalink
lxcfs: use fuse's default_permissions
Browse files Browse the repository at this point in the history
Closes #128.
Signed-off-by: Christian Brauner <[email protected]>
  • Loading branch information
Christian Brauner committed Mar 3, 2020
1 parent 971aa86 commit 6949cf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lxcfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6949cf7

Please sign in to comment.