File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ def main():
4646 '--aws-profile' ,
4747 default = None ,
4848 type = str )
49+
50+ parser .add_argument (
51+ '--allow-other' ,
52+ action = 'store_true' ,
53+ default = False ,
54+ help = 'Allow other users to access this fuse' )
4955
5056 parser .add_argument (
5157 '-l' , '--log' ,
@@ -84,9 +90,11 @@ def main():
8490 schema: {schema}
8591 mountpoint: {mountpoint}
8692 foreground: {foreground}
93+ allow others: {allow_other}
8794""" .format (schema = schema ,
8895 mountpoint = args ['mountpoint' ],
89- foreground = args ['foreground' ])
96+ foreground = args ['foreground' ],
97+ allow_other = args ['allow_other' ])
9098 print (start_msg , file = sys .stderr )
9199
92100 fuse = FUSE (
@@ -100,7 +108,8 @@ def main():
100108 logger = logger
101109 ),
102110 args ['mountpoint' ],
103- foreground = args ['foreground' ]
111+ foreground = args ['foreground' ],
112+ allow_other = args ['allow_other' ]
104113 )
105114
106115
You can’t perform that action at this time.
0 commit comments