Is there a way to set the file permission for the created logfiles via the property file?
I tried this
log4cpp.appender.A1.append=true log4cpp.appender.A1.mode=00666
but the file is still created with 00644 filemask - any idea?
Greetings
Dietmar
Forgot to mention - running on raspberry pi raspbian 3.12.34 - log4cpp latest version - app started as root & regular user
Hello Dietmar,
This task is resolved by OS tools. umask is used to change these permissions. See similar discussion at https://bz.apache.org/bugzilla/show_bug.cgi?id=40407
Alexander
Thanks Alexander for your response
It's better to think twice about a question before posting it :-/
//Dietmar
Log in to post a comment.
Forgot to mention
- running on raspberry pi raspbian 3.12.34
- log4cpp latest version
- app started as root & regular user
Hello Dietmar,
This task is resolved by OS tools.
umask is used to change these permissions.
See similar discussion at
https://bz.apache.org/bugzilla/show_bug.cgi?id=40407
Alexander
Thanks Alexander for your response
It's better to think twice about a question before posting it :-/
//Dietmar