Browse Source

Fix #323 - umask 077

George S. Baugh 4 tháng trước cách đây
mục cha
commit
90f9c62370
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      lib/TCMS.pm

+ 3 - 0
lib/TCMS.pm

@@ -68,6 +68,9 @@ If a path passed is not a defined route (or regex route), but exists as a file u
 
 sub _app {
 
+    # Make sure all writes are with the proper permissions, none need know of our love
+    umask 0077;
+
     # Start the server timing clock
     my $start = [gettimeofday];