From: Steinar H. Gunderson Date: Sun, 24 Jan 2016 19:50:09 +0000 (+0100) Subject: Override umask so that we are sure things will be world readable. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=5c77902797d1921d85e3d745dec5f91485d5469e;hp=5e1877740c696678c24b08ae6e28be0653c65bec Override umask so that we are sure things will be world readable. --- diff --git a/remoteglot.pl b/remoteglot.pl index 8293238..167fb21 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -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); });