From a17a37873dc11a9fb6f030f12f1467904f116295 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 26 Dec 2023 15:17:30 +0100 Subject: [PATCH] We need some extra permissions for touch. --- www/manual-override.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manual-override.pl b/www/manual-override.pl index 616e5ea..ed474ff 100755 --- a/www/manual-override.pl +++ b/www/manual-override.pl @@ -27,7 +27,7 @@ $dbh->do('INSERT INTO game_extensions ( fen, history, player_w, player_b, ts, ne Encode::decode_utf8($cgi->param('player_w')), Encode::decode_utf8($cgi->param('player_b')), Encode::decode_utf8($cgi->param('move'))); -system("touch", $remoteglotconf::json_output); +system("sudo", "touch", $remoteglotconf::json_output); print CGI->header(-type=>'text/plain; charset=utf-8'); print "OK\n"; -- 2.39.2