[ 
https://issues.apache.org/jira/browse/TS-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15045903#comment-15045903
 ] 

Daniel Xu edited comment on TS-4058 at 12/7/15 10:39 PM:
---------------------------------------------------------

If you run: 
{noformat}
./configure --with-user=danielxu --prefix=/home/danielxu/ats-test-env && make 
install && cd ~/ats-test-env && bin/traffic_cop -od
{noformat}
You'll see error messages about permission denied. 

That happens because we always try to elevate our permissions to root in Diags 
without checking if we have the ability to do that. We can't fix this problem 
unless we know if we are allowed to elevate to root. I can't figure out how to 
check if we are allowed to elevate to root. 


was (Author: danobi):
If you run: 
{noformat}
./configure --with-user=danielxu --prefix=/home/danielxu/ats-test-env && make 
install && cd ~/ats-test-env && bin/traffic_cop -od
{noformat}
You'll see error messages about permission denied. 

The reason it does that is because we always try to elevate our permissions to 
root in Diags without checking if we even have the ability to do that. We can't 
easily fix this problem unless we know if we are allowed to elevate to root. I 
can't figure out how to check if we are allowed to elevate to root. 

> Logging doesn't work when TS is compiled and run w/ --with-user
> ---------------------------------------------------------------
>
>                 Key: TS-4058
>                 URL: https://issues.apache.org/jira/browse/TS-4058
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Logging
>            Reporter: Daniel Xu
>            Assignee: Daniel Xu
>
> ie. we run this _without_ sudo. 
> traffic_cop output seems to point to permission errors that occur within 
> traffic_manager



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to