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

Daniel Xu commented on TS-5070:
-------------------------------

Currently running into issues with POSIX capability stuff. 

The problem is that {{traffic.out}}, unlike {{squid.blog}}, is created before 
ATS drops superuser status. Thus, we cannot use a traditional {{chmod(2)}} on 
{{traffic.out}} since {{traffic.out}} is owned by root when we want to change 
it as {{nobody}}. 

I think the trick here is to use the {{CAP_FOWNER}} capability to bypass 
permission checks.

> Add configuration variables to set file permissions for diags.log & 
> traffic.out
> -------------------------------------------------------------------------------
>
>                 Key: TS-5070
>                 URL: https://issues.apache.org/jira/browse/TS-5070
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Logging
>            Reporter: Daniel Xu
>            Assignee: Daniel Xu
>
> It would be useful to be able to control file permissions for {{diags.log}} 
> and {{traffic.out}}.



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

Reply via email to