aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_posix.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-01-24 15:57:48 +0100
committerKim Alvefur <zash@zash.se>2021-01-24 15:57:48 +0100
commit27c7ee73b702c60c4496c5507dbc581b9a13a7bf (patch)
tree0a17c5364d83ccc006726ec1a4e59bab4944f7f7 /plugins/mod_posix.lua
parent4825d991dc38b068259b53365bcb922e7091679a (diff)
downloadprosody-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 'plugins/mod_posix.lua')
0 files changed, 0 insertions, 0 deletions