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):
115
115
now = time .time ()
116
116
st = fuse .Stat ()
117
117
if isinstance (matched_path , dict ):
118
- st .st_mode = stat .S_IFDIR | 0755
118
+ st .st_mode = stat .S_IFDIR | 0o755
119
119
st .st_ctime = now
120
120
st .st_mtime = now
121
121
st .st_atime = now
@@ -124,7 +124,7 @@ def getattr(self, path):
124
124
st .st_nlink = len (matched_path )
125
125
return st
126
126
if isinstance (matched_path , str ):
127
- st .st_mode = stat .S_IFREG | 0644
127
+ st .st_mode = stat .S_IFREG | 0o644
128
128
st .st_ctime = now
129
129
st .st_mtime = now
130
130
st .st_atime = now
@@ -134,7 +134,7 @@ def getattr(self, path):
134
134
st .st_nlink = 1
135
135
return st
136
136
if isinstance (matched_path , tuple ):
137
- st .st_mode = stat .S_IFREG | 0644
137
+ st .st_mode = stat .S_IFREG | 0o644
138
138
st .st_ctime = now
139
139
st .st_mtime = now
140
140
st .st_atime = now
You can’t perform that action at this time.
0 commit comments