View Revisions: Issue #25734

Summary 0025734: LOGFILE_NOT_WRITABLE error triggered if file does not exist
Revision 2020-02-25 10:58 by dregad
Description

When MantisBT tries to write an event to a log file that does not already exist, a warning is printed The file specified in $g_log_destination "/path/to/mantis.log" is not writable and the file is not created even if PHP process has write access. The event is added to the PHP system log.

This is a regression introduced by 0019642, as the code only checks that the target file is writable.

Revision 2019-05-04 06:31 by dregad
Description

When MantisBT tries to write an event to a log file that does not already exist, a warning is printed _The file specified in $g_logdestination "/path/to/mantis.log" is not writable and the file is not created even if PHP process has write access. The event is added to the PHP system log.

This is a regression introduced by 0019642, as the code only checks that the target file is writable.