Permissions on log files created by log4j RollingFileAppender
问题 How are the permissions for files created by RollingFileAppender determined? I recently changed a daemon process I have to be run as a non-root user and the files are now being created with permissions of 0600 (only readable by the owner), but I would like them to be readable by all or at least members of an admin group ( 0644 or 0640 ). Files created by my tomcat apps are always 0644 (readable by all). I don't know if I inadvertently changed something else or if it is something to do with