On May 3, 2007, at 8:21 AM, Leandro wrote:
> I´ve setted these variables:
> $g_log_level = LOG_EMAIL;
> $g_log_destination = 'file:/tmp/mantis_log';
> The directory /tmp has 1777 permisions.
> The file /tmp/mantis_log has 777 permisions and apache:apache owner
>
> ...but MantisBT can´t write log file.
>
> SYSTEM WARNING: error_log(/tmp/mantis_log): failed to open stream:
> Permission denied
Are you sure that Apache is running as the user apache? Depending on
configuration, it may be running as httpd, nobody, or another user.
In hosted environments, it's common for apache to run as a username
unique to your account.
The easiest way to find out is to issue this command:
ps auxc | grep httpd
-J.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
mantisbt-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mantisbt-help