I have the following problem: I have a apache server running under the user http:http
. Further the php scripts are evaluated through fastcgi and php-fpm
. The php scripts are running under the user foo:foo
. The files of joomla are owned by foo:foo
and uploads are done via FTP.
When I modify the index.php
of joomla to touch a temporary file it gets the correct rights (owned by foo:foo
and file permissions rw-r--r--
).
However when I install a plugin from within the backend, the files get the same owner (foo:foo
) but another set of permission (rw-------
). Folders get the correct rwxr-xr-x
. (Remark: I installed the plugin directly from the web. So I did not upload the extracted files via FTP or similar. Instead joomla did extract the zip file.)
I understand that my configuration is ok in general but in case of an installation using joomla backend some bug seems to be triggered. What do you think? Is there any way of further debugging?