about summary refs log tree commit homepage
path: root/lib/wrongdoc/changelog.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wrongdoc/changelog.rb')
-rw-r--r--lib/wrongdoc/changelog.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/wrongdoc/changelog.rb b/lib/wrongdoc/changelog.rb
index f16bfbf..324a13b 100644
--- a/lib/wrongdoc/changelog.rb
+++ b/lib/wrongdoc/changelog.rb
@@ -19,6 +19,7 @@ module Wrongdoc::Changelog
         fp.write line
       }
     end
+    fp.chmod(0666 & ~File.umask)
     File.rename(fp.path, 'ChangeLog')
     fp.close!
   end