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

Istvan Toth commented on PHOENIX-6654:
--------------------------------------

Looking at the code some more, the ulimit is reset before the java process is 
started, so only the pidfile seems to be world writable.

> queryserver.py sets the umask to 0000 when starting PQS in daemon mode
> ----------------------------------------------------------------------
>
>                 Key: PHOENIX-6654
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6654
>             Project: Phoenix
>          Issue Type: Bug
>          Components: queryserver
>    Affects Versions: queryserver-6.0.0
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>
> For example the pid file created is world writable.
> We need to set up daemon.py correctly.
> Come to think of it, unless phoenix itself manipulates the umask, any local 
> file created by Phoenix will be world writable, which sounds bad.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to