ocket8888 commented on code in PR #7142: URL: https://github.com/apache/trafficcontrol/pull/7142#discussion_r1017140520
########## dev/tpv2/run.sh: ########## @@ -16,5 +16,24 @@ set -o errexit cd "$TC/experimental/traffic-portal" + +user=tpv2 +uid="$(stat -c%u "$TC")" +gid="$(stat -c%g "$TC")" +if [[ "$(id -u)" != "$uid" ]]; then + for dir in "${TC}/.npm" .angular node_modules; do Review Comment: this fails on fresh repo clones: ``` tpv2_1 | stat: cannot statx '.angular': No such file or directory tpv2_1 | chown: cannot access '.angular': No such file or directory ``` (and then the container crashes) -- 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. To unsubscribe, e-mail: issues-unsubscr...@trafficcontrol.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org