[
https://issues.apache.org/jira/browse/AMBARI-20324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15899337#comment-15899337
]
Björn Busse commented on AMBARI-20324:
--------------------------------------
Another possiblity is to switch to the ambari user early, maybe already before
the python script gets invoked in /etc/init.d/ambari-server
> Wrong permissions on /var/run/ambari-server when not running as root
> --------------------------------------------------------------------
>
> Key: AMBARI-20324
> URL: https://issues.apache.org/jira/browse/AMBARI-20324
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.1
> Reporter: Björn Busse
>
> /var/run/ambari-server has wrong permissions when not running as root.
> The user under which ambari-server is running (ambari-server.user) should own
> /var/run/ambari-server
> $ cat /etc/ambari-server/conf/ambari.properties | grep server.user
> ambari-server.user=ambari
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)