[arch-general] Apache (Roundcube) and /tmp
Hi, I tried to install roundcube (in community/), but it fails when it tries to check if he can write in his temp dir, which is a symlink that points to /tmp/roundcube and is rwx for http (and group http too). I have the same problem if I try to put the symlink to /var/tmp/roundcube, but it works with /var/lib/roundcube Note that I update the open_basedir each time, and absolutely no message show in the logs concerning fails to write in /var/tmp or /tmp (only when I forget to change the open_basedir value for php). Any idea where it can come from? Did I miss something in apache (or php?) configuration? Thanks in advance! -- Ismael
On 2014-06-15 12:10, Ismael Bouya wrote:
Hi, I tried to install roundcube (in community/), but it fails when it tries to check if he can write in his temp dir, which is a symlink that points to /tmp/roundcube and is rwx for http (and group http too).
I have the same problem if I try to put the symlink to /var/tmp/roundcube, but it works with /var/lib/roundcube
Note that I update the open_basedir each time, and absolutely no message show in the logs concerning fails to write in /var/tmp or /tmp (only when I forget to change the open_basedir value for php). Any idea where it can come from? Did I miss something in apache (or php?) configuration?
Thanks in advance!
Has also been reported on the bugtracker, but with no resolution. https://bugs.archlinux.org/task/40643
(Sun, Jun 15, 2014 at 12:29:11PM -0500) Doug Newgard :
On 2014-06-15 12:10, Ismael Bouya wrote:
Hi, I tried to install roundcube (in community/), but it fails when it tries to check if he can write in his temp dir, which is a symlink that points to /tmp/roundcube and is rwx for http (and group http too).
I have the same problem if I try to put the symlink to /var/tmp/roundcube, but it works with /var/lib/roundcube
Note that I update the open_basedir each time, and absolutely no message show in the logs concerning fails to write in /var/tmp or /tmp (only when I forget to change the open_basedir value for php). Any idea where it can come from? Did I miss something in apache (or php?) configuration?
Thanks in advance!
Has also been reported on the bugtracker, but with no resolution.
Oh I thought it was misconfiguration on my part. It's strange that you get error messages about the open_basedir while I get absolutely no information, no matter in which log file I look -- Ismael
Ismael Bouya wrote:
Hi, I tried to install roundcube (in community/), but it fails when it tries to check if he can write in his temp dir, which is a symlink that points to /tmp/roundcube and is rwx for http (and group http too).
I have the same problem if I try to put the symlink to /var/tmp/roundcube, but it works with /var/lib/roundcube
Note that I update the open_basedir each time, and absolutely no message show in the logs concerning fails to write in /var/tmp or /tmp (only when I forget to change the open_basedir value for php). Any idea where it can come from? Did I miss something in apache (or php?) configuration?
Thanks in advance!
My guess is, this is an issue with systemd private temp. Namely what roundcube sees as /tmp is not the real /tmp but is really a folder with a name like /tmp/systemd-private-xxxxxxxx which probably does not contain the roundcube folder. The same is true for /var/tmp, but not for /var/lib which explains why it works there. Jerome -- mailto:jeberger@free.fr http://jeberger.free.fr Jabber: jeberger@jabber.fr
participants (3)
-
"Jérôme M. Berger"
-
Doug Newgard
-
Ismael Bouya