Clarify why we use chmod instead of mkfifo's mode parameter

This commit is contained in:
Kristóf Tóth 2019-05-04 22:49:45 +02:00
parent 14ac1b82d1
commit d56efa9c4b
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class Pipe:
def recreate(self, permissions):
self.remove()
mkfifo(self.path)
chmod(self.path, permissions)
chmod(self.path, permissions) # use chmod to ignore umask
def remove(self):
if exists(self.path):