traeak opened a new issue #5035: URL: https://github.com/apache/trafficcontrol/issues/5035
<!-- ************ STOP!! ************ If this issue identifies a security vulnerability, DO NOT submit it! Instead, contact the Apache Software Foundation Security Team at [email protected] and follow the guidelines at https://www.apache.org/security/ regarding vulnerability disclosure. - For *SUPPORT QUESTIONS*, use the [Traffic Control slack channels](https://traffic-control-cdn.slack.com) or [Traffic Control mailing lists](http://trafficcontrol.apache.org/mailing_lists/). - Before submitting, please **SEARCH GITHUB** for a similar issue or PR. --> ## I'm submitting a ... - bug report ## Traffic Control components affected ... <!-- delete all those that don't apply --> - Traffic Ops ORT ## Current behavior: Observed in traffic_ops_ort-4.1.0, t3c built from d809e9abc892b2dc690cd65b795e1fd1d256d151 For testing purposes I will remove trafficserver and trafficserver-debuginfo and blow away /opt/trafficserver, then run ORT badass as root. With traffic_ops_ort.pl sub directories in /opt/trafficserver/etc/ such as "ssl" and "dscp" end up as root.root permission set to 0700. This is consistent and part of my clean install involves chowning these subdirs. I tested with t3c and it will create these same directories with permissions 0755 but still root.root which allows ATS to start with no complaints. ## Expected / new behavior: Likely these subdirs should be created as ats.ats so they can be picked up when ats starts. It might be that we want to keep the ssl directory as 700 owned by ats for security purposes, but possibly keep others like dscp at 755. ## Minimal reproduction of the problem with instructions: rpm remove trafficserver and trafficserver-debuginfo. rm -rf /opt/trafficserver set up server (for these cases I'll use the TO API to inject my test machine, then TP to clone delivery services). run traffic_ops_ort.pl, wipe again, run t3c. ## Anything else: <!-- e.g. stacktraces, related issues, suggestions how to fix --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
