diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-07-27 14:40:29 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-07-27 15:30:37 +0200 |
commit | 1d6c1025d8d5fa9787fa3632bc7bc1fa357e62f1 (patch) | |
tree | 3cb6b9bc8ade1f3cd6ab68b40772381293480776 /community/roundcubemail/roundcubemail-installer.post-install | |
parent | 5fe974d357db25cfea207d327fe3ad92dcedaca8 (diff) | |
download | aports-1d6c1025d8d5fa9787fa3632bc7bc1fa357e62f1.tar.bz2 aports-1d6c1025d8d5fa9787fa3632bc7bc1fa357e62f1.tar.xz |
community/roundcubemail: more secure privileges, prefer php-fpm
If the user want to run Roundcube with "traditional", quite insecure
and silly method by running PHP apps with web server (e.g. Apache2
mod_php) under web server's user, (s)he still can, but have to change
group of config files or add web server's user to group roundcube.
This is announced by message in post-upgrade script.
The -openrc subpackage is now installed by default when openrc is
installed, which should promote running Roundcube using php-fpm.
Diffstat (limited to 'community/roundcubemail/roundcubemail-installer.post-install')
-rw-r--r-- | community/roundcubemail/roundcubemail-installer.post-install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/community/roundcubemail/roundcubemail-installer.post-install b/community/roundcubemail/roundcubemail-installer.post-install new file mode 100644 index 0000000000..8cd22c19e6 --- /dev/null +++ b/community/roundcubemail/roundcubemail-installer.post-install @@ -0,0 +1,6 @@ +#!/bin/sh + +# Allow installer to modify the config. +chown roundcube /etc/roundcube/config.inc.php + +exit 0 |