gonzalop / dircproxy

Automatically exported from code.google.com/p/dircproxy
GNU General Public License v2.0
0 stars 0 forks source link

Permissions on log/pid files #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I''ve enabled log_dir on dircproxy and I''ve noticed that when log files
(and for that matter the PID file also) get created the permissions are
0666 on the files. 

This probably isn''t best from a security PoV.  It would be nice if they
were created with 0600 permissions or just followed the UMASK of the user
environment.  

Alternatively if you really want to get creative you could have
log_file_perm/pid_file_perm directives in the dircproxy.conf or something
like that :) 

Original issue reported on code.google.com by noel.w8tvi on 29 Sep 2008 at 5:51