trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject git commit: TS-2880 Change the permissions on traffic.out to 0644
Date Wed, 11 Jun 2014 20:35:13 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 43be06849 -> 08f6e5e44


TS-2880 Change the permissions on traffic.out to 0644


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/08f6e5e4
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/08f6e5e4
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/08f6e5e4

Branch: refs/heads/master
Commit: 08f6e5e44a00776bc4eb4d1584d0aaa92f9df9ed
Parents: 43be068
Author: Ethan Lai <yzlai@yahoo.com>
Authored: Wed Jun 11 13:34:49 2014 -0700
Committer: Bryan Call <bcall@apache.org>
Committed: Wed Jun 11 13:34:49 2014 -0700

----------------------------------------------------------------------
 cmd/traffic_cop/traffic_cop.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/08f6e5e4/cmd/traffic_cop/traffic_cop.cc
----------------------------------------------------------------------
diff --git a/cmd/traffic_cop/traffic_cop.cc b/cmd/traffic_cop/traffic_cop.cc
index 50615f2..b6dbbaf 100644
--- a/cmd/traffic_cop/traffic_cop.cc
+++ b/cmd/traffic_cop/traffic_cop.cc
@@ -719,7 +719,7 @@ spawn_manager()
     cop_log(COP_WARNING, "rename %s to %s as it is not accessible.\n", log_file, old_log_file);
   }
   // coverity[toctou]
-  if ((log_fd = open(log_file, O_WRONLY | O_APPEND | O_CREAT, 0640)) < 0) {
+  if ((log_fd = open(log_file, O_WRONLY | O_APPEND | O_CREAT, 0644)) < 0) {
     cop_log(COP_WARNING, "unable to open log file \"%s\" [%d '%s']\n", log_file, errno, strerror(errno));
   }
 


Mime
View raw message