brbzull0 commented on pull request #7478:
URL: https://github.com/apache/trafficserver/pull/7478#issuecomment-966484721


   > @brbzull0 The permissions on the domain socket should require 
administrative access.
   
   I already mentioned this to you but for someone else wondering the same 
thing.:
   
   This is already implemented, it can be configured also to grant a wider 
access to the socket, you can check it 
[here](https://brbzull0.github.io/ats/admin-guide/jsonrpc/index.en.html#configuration)
   
   but basically :
   `jsonrpc.yaml`
   ```yaml
   rpc:
      enabled: true
      unix:
   rpc:
      enabled: true
      unix:
         lock_path_name: /your/path/jsonrpc.lock
         sock_path_name: /your/path/jsonrpc.sock
         restricted_api: false
   ```
   if  restricted_api is true, then the socket will be set with `0700` 
otherwise it will be `0777`. Default is `0700`(restricted)
   


-- 
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