use octal

This commit is contained in:
Antonio J. Delgado 2024-10-01 11:44:30 +03:00
parent 0cda531f69
commit 6cdb48fe05

View file

@ -186,7 +186,7 @@ class ImapFilter:
os.chown(self.config['sieve_scripts_path'], owner, group)
os.chmod(
self.config['sieve_scripts_path'],
stat.S_IRUSR & stat.S_IWUSR & stat.S_IXUSR & stat.S_IRWXG & stat.S_IRGRP & stat.S_IWGRP & stat.S_IXGRP & stat.S_IRWXO & stat.S_IROTH & stat.S_IWOTH & stat.S_IXOTH
0o777
)
return True