]> git.sesse.net Git - remoteglot/commitdiff
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 82932387990ac2c960ec74d38d71fe1703a32577..167fb21bc0d16617f01836f17eab1d23ae8b0f14 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); });