diff options
author | Kim Alvefur <zash@zash.se> | 2021-01-24 15:57:48 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-01-24 15:57:48 +0100 |
commit | 27c7ee73b702c60c4496c5507dbc581b9a13a7bf (patch) | |
tree | 0a17c5364d83ccc006726ec1a4e59bab4944f7f7 /.luacheckrc | |
parent | 4825d991dc38b068259b53365bcb922e7091679a (diff) | |
download | prosody-27c7ee73b702c60c4496c5507dbc581b9a13a7bf.tar.gz prosody-27c7ee73b702c60c4496c5507dbc581b9a13a7bf.zip |
util.startup: Don't create installer plugin path (as root)
Since this runs before dropping root, the directory ends up being owned
by root, resulting in luarocks failing to install anything, since by
then it would be running as the prosody user.
luarocks creates this directory if needed, so creating it during startup
is not necessary.
One potential issue is if the directory is somewhere where Prosody can't
write, but then you will simply have to create it yourself with the
appropriate permissions.
Diffstat (limited to '.luacheckrc')
0 files changed, 0 insertions, 0 deletions