trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r1164748 - /trafficserver/traffic/trunk/proxy/Initialize.cc
Date Fri, 02 Sep 2011 22:30:46 GMT
Author: zwoop
Date: Fri Sep  2 22:30:46 2011
New Revision: 1164748

URL: http://svn.apache.org/viewvc?rev=1164748&view=rev
Log:
TS-929 diags.log needs to be writable by nobody.

Adding this even though it's currently not used (since standalone
iocore isn't supported). Author: Radim Kolar.

Modified:
    trafficserver/traffic/trunk/proxy/Initialize.cc

Modified: trafficserver/traffic/trunk/proxy/Initialize.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/Initialize.cc?rev=1164748&r1=1164747&r2=1164748&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/Initialize.cc (original)
+++ trafficserver/traffic/trunk/proxy/Initialize.cc Fri Sep  2 22:30:46 2011
@@ -252,6 +252,7 @@ init_system_diags(char *bdt, char *bat)
   diags_log_fp = fopen(diags_logpath, "w");
   if (diags_log_fp) {
     int status;
+    chown_file_to_user(diag_logpath,admin_user);
     status = setvbuf(diags_log_fp, NULL, _IOLBF, 512);
     if (status != 0) {
       fclose(diags_log_fp);



Mime
View raw message