bneradt commented on issue #9240:
URL: https://github.com/apache/trafficserver/issues/9240#issuecomment-1369081402

   > @bneradt Although I have assigned permissions to 
/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver, the 
error is reported in openEuler_aarch64.
   > 
   > ```
   > [root@localhost bin]# chmod 777 
/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver/var/trafficserver/
   > [root@localhost bin]#
   > [root@localhost bin]#
   > [root@localhost bin]# ./traffic_manager
   > [E. Mgmt] log ==> [TrafficManager] using root directory 
'/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver'
   > FATAL: Can't open server lockfile 
'/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver/var/trafficserver/server.lock'
 (Permission denied)
   > ```
   
   With the message "Permission denied" I still suspect some DAC issue for your 
path with the Traffic Manager process. Can you verify that each of the 
directories in the 
`/home/spack/opt/spack/linux-openeuler20-aarch64/gcc-7.3.0/trafficserver/var/trafficserver/`
 path are readable/executable by the Traffic Manager process? Note that 
traffic_manager will run as the 
[proxy.config.admin.user_id](https://docs.trafficserver.apache.org/en/9.1.x/admin-guide/files/records.config.en.html?highlight=nobody#proxy-config-admin-user-id)
 user (which defaults to user `nobody`). Using strace might be helpful to 
determine the specific cause of the EPERM.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to