]> git.llucax.com Git - software/blitiri.git/blobdiff - blitiri.cgi
Honour umask when creating the comments directory
[software/blitiri.git] / blitiri.cgi
index abff92ab0f9225ac9cca376cdfb1efaa0adf0312..0ffc81a6ac40851dbc1944aa90794c33f413f1bb 100755 (executable)
@@ -781,7 +781,7 @@ class CommentDB (object):
                # if comments were enabled after the article was added, we
                # will need to create the directory
                if not os.path.exists(self.path):
-                       os.mkdir(self.path, 0755)
+                       os.mkdir(self.path, 0777)
 
                self.comments = []
                self.load(article)