[logback-user] Log file permissions

Hontvári József hontvari at flyordie.com
Mon Mar 8 13:11:34 CET 2010


I cannot discover why the log file created by logback has different 
permissions then another file created by the same Java process. I don't 
see anything special in Logback code, do I miss something? The log file 
is only readable by the user running the process.

/var/lib/jddclient
drwxr-s---  2 jddclient adm  4096 2010-03-08 12:24 .
drwxr-xr-x 58 root      root 4096 2010-03-08 12:23 ..
-rw-r--r--  1 jddclient adm   103 2010-03-08 13:04 status.xml

/var/log/jddclient
drwxr-s---  2 jddclient adm  4096 2010-03-08 12:24 .
drwxr-xr-x 15 root      root 4096 2010-03-08 12:25 ..
-rw-------  1 jddclient adm  9811 2010-03-08 13:04 jddclient




More information about the Logback-user mailing list