diff options
author | Simon Rettberg | 2024-09-20 17:09:19 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-09-20 17:09:19 +0200 |
commit | ae1799674994c0b0daeb1298e4ccc362267da0fa (patch) | |
tree | 6c0b4cfc6b4dd309fe6b2f246e68fd5b09197d88 /script | |
parent | [rebootcontrol/statistics] Add templates for useful remote exec commands (diff) | |
download | slx-admin-ae1799674994c0b0daeb1298e4ccc362267da0fa.tar.gz slx-admin-ae1799674994c0b0daeb1298e4ccc362267da0fa.tar.xz slx-admin-ae1799674994c0b0daeb1298e4ccc362267da0fa.zip |
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.
Diffstat (limited to 'script')
-rwxr-xr-x | script/allow-www-write | 3 |
1 files changed, 3 insertions, 0 deletions
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/ |