File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ def getattr(self, path):
115115 now = time .time ()
116116 st = fuse .Stat ()
117117 if isinstance (matched_path , dict ):
118- st .st_mode = stat .S_IFDIR | 0755
118+ st .st_mode = stat .S_IFDIR | 0o755
119119 st .st_ctime = now
120120 st .st_mtime = now
121121 st .st_atime = now
@@ -124,7 +124,7 @@ def getattr(self, path):
124124 st .st_nlink = len (matched_path )
125125 return st
126126 if isinstance (matched_path , str ):
127- st .st_mode = stat .S_IFREG | 0644
127+ st .st_mode = stat .S_IFREG | 0o644
128128 st .st_ctime = now
129129 st .st_mtime = now
130130 st .st_atime = now
@@ -134,7 +134,7 @@ def getattr(self, path):
134134 st .st_nlink = 1
135135 return st
136136 if isinstance (matched_path , tuple ):
137- st .st_mode = stat .S_IFREG | 0644
137+ st .st_mode = stat .S_IFREG | 0o644
138138 st .st_ctime = now
139139 st .st_mtime = now
140140 st .st_atime = now
You can’t perform that action at this time.
0 commit comments