git » blitiri » commit 57bf293

Fix comment dir creation permissions

author Leandro Lucarella
2022-08-20 19:13:13 UTC
committer Alberto Bertogli
2022-08-20 19:30:45 UTC
parent 087b11d6876de6166c2a7d3b2dc5e0698d4ad997

Fix comment dir creation permissions

blitiri.cgi +1 -1

diff --git a/blitiri.cgi b/blitiri.cgi
index a842d0e..dc0409a 100755
--- a/blitiri.cgi
+++ b/blitiri.cgi
@@ -782,7 +782,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)