er of the file. Changing permissions won't work then.
On the other hand, if the log4php process owns the file, then it is unlikely
that it was created without write permissions.
#3: I wouldn't expect the file permissions to be set to 755 if the running
log4php process cannot write to the file.
riteable, set default permissions in LoggerAppenderFile:
{code}
/**
* Sets the file where the log output will go.
* @param string $file
*/
public function setFile($file) {
if (!is_writable($file)) {
chmod($file, 0755);
}
$this->setString('file', $file);
leName);
}
{code}
> Set default file permissions
>
>
> Key: LOG4PHP-189
> URL: https://issues.apache.org/jira/browse/LOG4PHP-189
> Project: Log4php
> Issue Type: New Feature
>
ame, 0755);
}
$this->setFile($fileName);
}
{code}
> Set default file permissions
>
>
> Key: LOG4PHP-189
> URL: https://issues.apache.org/jira/browse/LOG4PHP-189
> Project: Log4php
>
ian Hammers has proposed to add the option of defining log file
permissions as part of configuration:
http://www.nabble.com/Adding-umask-chmod-to-FileAppender--tt11748228.html#a11748228
> Set default file permissions
>
>
> K
George Cooksey created LOG4PHP-189:
--
Summary: Set default file permissions
Key: LOG4PHP-189
URL: https://issues.apache.org/jira/browse/LOG4PHP-189
Project: Log4php
Issue Type: New Feature
I got it this time. I'm led to believe the web should be automatically
updated at some point in time now. Let's wait and see. :)
Thanks for the effort.
Ivan
On 17.5.2011. 15:53, Christian Grobmeier wrote:
Hey Ivan,
can you check now? I have moved the permissions to 775, this should do
the tri
Hey Ivan,
can you check now? I have moved the permissions to 775, this should do
the trick.
Cheers,
Christian
PS: and sorry for the trouble ;-)
2011/5/15 Ivan Habunek :
> Christian,
>
> I'm still having some issues with deploying the new site docs.
>
> Could you please go to peopele.apache.org
Christian,
I'm still having some issues with deploying the new site docs.
Could you please go to peopele.apache.org and adjust the permissions in
the /www/logging.apache.org/log4php folder so all files (recursively)
have write permissions for the "logging" group. Currently, only the
files in