Skip to content

Commit

Permalink
major bug fix: changing file or directory permissions/owner on a node…
Browse files Browse the repository at this point in the history
… made the file or directory inaccessible on the other nodes
  • Loading branch information
jazzl0ver committed Apr 12, 2018
1 parent 9c299fb commit 555156f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yas3fs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1291,8 +1291,8 @@ def process_message(self, messages):
self.invalidate_cache(path)
elif c[1] == 'md':
if c[2]:
self.cache.delete(c[3], 'key')
self.cache.delete(c[3], c[2])
self.delete_cache(c[2])
self.delete_cache(c[3])
elif c[1] == 'reset':
if len(c) <= 2 or not c[2] or c[2] == '/':
with self.cache.lock:
Expand Down

0 comments on commit 555156f

Please sign in to comment.