aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_motd.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
commit4b306202344c61af42b455d5da3840179266e1a7 (patch)
tree0a17c5364d83ccc006726ec1a4e59bab4944f7f7 /plugins/mod_motd.lua
parentdc043e287fb5c596e9754f00c1afa87dc30dad29 (diff)
downloadprosody-4b306202344c61af42b455d5da3840179266e1a7.tar.gz
prosody-4b306202344c61af42b455d5da3840179266e1a7.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_motd.lua')
0 files changed, 0 insertions, 0 deletions