You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2022/02/23 07:31:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Istvan Toth updated PHOENIX-6654:
---------------------------------
    Summary: queryserver.py sets the umask to 0000 when starting PQS in daemon mode  (was: queryserver.py set the umask to 0000 when starting PQS in daemon mode)

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