phpconf: allow the usage of www-data for Group

This commit is contained in:
Alexandre Aubin 2023-08-31 16:50:26 +02:00
parent afdefcc44b
commit 5d90885b49

View file

@ -1309,7 +1309,7 @@ class Configurations(TestSuite):
)
return
if any(match[1] in ["root", "www-data"] for match in matches):
if any(match[1] == "root" or match == ("user", "www-data") for match in matches):
yield Error(
"DO NOT run the app PHP worker as root or www-data! Use a dedicated system user for this app!"
)