From ae1799674994c0b0daeb1298e4ccc362267da0fa Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 20 Sep 2024 17:09:19 +0200 Subject: scripts: Helper to give www-data write permissions to lang files Useful if you use the web UI to edit translations. This assumes the php scripts run as the www-data user. --- script/allow-www-write | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 script/allow-www-write (limited to 'script') diff --git a/script/allow-www-write b/script/allow-www-write new file mode 100755 index 00000000..7c2608c6 --- /dev/null +++ b/script/allow-www-write @@ -0,0 +1,3 @@ +#!/bin/sh + +setfacl -R -m u:www-data:rwX modules-available/*/lang/ -- cgit v1.2.3-55-g7522