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 <[email protected]> Authored: Wed Jun 11 13:34:49 2014 -0700 Committer: Bryan Call <[email protected]> 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)); }
