whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [2/2] Commit c8141b4: set umask
Date Sun, 10 Jan 2016 22:27:37 GMT
Commit c8141b456454c14cd89ae7042f3688d98015bb50:
    set umask


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/secmail/deliver.rb                                       | + 
------------------------------------------------------------
1 changes: 1 additions, 0 deletions.
------------------------------------------------------------


diff --git a/www/secmail/deliver.rb b/www/secmail/deliver.rb
index f583cde..632b361 100644
--- a/www/secmail/deliver.rb
+++ b/www/secmail/deliver.rb
@@ -18,5 +18,6 @@
 message = Message.new(mailbox, hash, headers, email)
 
 # write message to disk
+File.umask(0002)
 message.write_headers
 message.write_email

Mime
View raw message