mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
phpconf: allow the usage of www-data for Group
This commit is contained in:
parent
afdefcc44b
commit
5d90885b49
1 changed files with 1 additions and 1 deletions
|
@ -1309,7 +1309,7 @@ class Configurations(TestSuite):
|
||||||
)
|
)
|
||||||
return
|
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(
|
yield Error(
|
||||||
"DO NOT run the app PHP worker as root or www-data! Use a dedicated system user for this app!"
|
"DO NOT run the app PHP worker as root or www-data! Use a dedicated system user for this app!"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue