]> git.llucax.com Git - software/blitiri.git/commitdiff
Honour umask when creating the comments directory
authorLeandro Lucarella <llucax@gmail.com>
Tue, 1 Jun 2010 00:18:14 +0000 (21:18 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Tue, 1 Jun 2010 02:20:01 +0000 (23:20 -0300)
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)