Changeset 1928
- Timestamp:
- 09/01/08 12:57:47 (3 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cherokee/logger_writer.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1927 r1928 1 1 2008-09-01 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * cherokee/logger_writer.c: Open the logs with perms 0640 rather 4 than 0644. It is not "Others"' business what the server does. 2 5 3 6 * cherokee/main.c (figure_pid_file_path): Fixes the functionality, cherokee/trunk/cherokee/logger_writer.c
r1785 r1928 229 229 230 230 case cherokee_logger_writer_stderr: 231 /* Nothing to do, syslog already opened at startup.232 */233 231 writer->fd = STDERR_FILENO; 234 232 return ret_ok; 235 233 236 234 case cherokee_logger_writer_file: 237 writer->fd = open (writer->filename.buf, O_APPEND | O_WRONLY | O_CREAT | O_LARGEFILE, 064 4);235 writer->fd = open (writer->filename.buf, O_APPEND | O_WRONLY | O_CREAT | O_LARGEFILE, 0640); 238 236 if (writer->fd == -1) { 239 237 PRINT_MSG ("Couldn't open '%s' for appending\n", writer->filename.buf);