]> git.sesse.net Git - remoteglot/commitdiff
Fix umask; it messed up the history.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 15 Nov 2016 18:11:18 +0000 (19:11 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 15 Nov 2016 18:11:18 +0000 (19:11 +0100)
remoteglot.pl

index 163e16666cf108d41cbfbb271a2c0d3e6e1c035c..9cbf820d5dcd336d5e0bff16d118da711462e84f 100755 (executable)
@@ -67,7 +67,7 @@ select(TBLOG);
 $| = 1;
 
 select(STDOUT);
 $| = 1;
 
 select(STDOUT);
-umask 0027;  # analysis.json should not be served to users.
+umask 0022;  # analysis.json should not be served to users.
 
 # open the chess engine
 my $engine = open_engine($remoteglotconf::engine_cmdline, 'E1', sub { handle_uci(@_, 1); });
 
 # open the chess engine
 my $engine = open_engine($remoteglotconf::engine_cmdline, 'E1', sub { handle_uci(@_, 1); });