You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2022/03/02 09:45:00 UTC
[jira] [Commented] (PHOENIX-6654) queryserver.py sets the umask to 0000 when starting PQS in daemon mode
[ https://issues.apache.org/jira/browse/PHOENIX-6654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17500016#comment-17500016 ]
Istvan Toth commented on PHOENIX-6654:
--------------------------------------
We actually do call initsubproc, before starting the PQS Java command, I missed that previously.
> 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)