George S. Baugh 4 сар өмнө
parent
commit
90f9c62370
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  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];