Clarify why we use chmod instead of mkfifo's mode parameter
This commit is contained in:
parent
14ac1b82d1
commit
d56efa9c4b
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user