Override umask so that we are sure things will be world readable.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 24 Jan 2016 19:50:09 +0000 (20:50 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 24 Jan 2016 19:50:09 +0000 (20:50 +0100)
remoteglot.pl

index 8293238..167fb21 100755 (executable)
@@ -67,6 +67,7 @@ select(TBLOG);
 $| = 1;
 
 select(STDOUT);
+umask 0022;
 
 # open the chess engine
 my $engine = open_engine($remoteglotconf::engine_cmdline, 'E1', sub { handle_uci(@_, 1); });