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

   I see. The problem is setting sandboxDir to `fs::temp_directory_path` here 
which will be `/tmp/`
   
https://github.com/apache/trafficserver/blob/1e6620bf27bed69c4c369f0a5ca0ddd2dbfa8e44/mgmt2/rpc/server/unit_tests/test_rpcserver.cc#L506
   
   Then removing it here:
   
https://github.com/apache/trafficserver/blob/1e6620bf27bed69c4c369f0a5ca0ddd2dbfa8e44/mgmt2/rpc/server/unit_tests/test_rpcserver.cc#L536
   
   Rather it should use `getTemporaryDir()` (or something like it) which 
returns a temporary directory (i.e., not `/tmp/` but something from `mkdtemp`) 
like here: 
https://github.com/apache/trafficserver/blob/1e6620bf27bed69c4c369f0a5ca0ddd2dbfa8e44/proxy/http/remap/unit-tests/test_PluginFactory.cc#L105


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