ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-20324) Wrong permissions on /var/run/ambari-server when not running as root
Date Fri, 10 Mar 2017 12:57:04 GMT

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

Doroszlai, Attila commented on AMBARI-20324:
--------------------------------------------

[~bbusse], {{/var/run/ambari-server}} owner is changed by {{ambari-server setup}}:

{noformat}
# ambari-server setup
Using python  /usr/bin/python
Setup ambari-server
Checking SELinux...
SELinux status is 'disabled'
Customize user account for ambari-server daemon [y/n] (n)? y
Enter user account for ambari-server daemon (root):ambari
Adjusting ambari-server permissions and ownership...
...
Ambari Server 'setup' completed successfully.
# ls -la /var/run/ambari-server
total 16
drwxr-xr-x   4 ambari root 4096 Mar 10 12:48 .
drwxr-xr-x. 34 root   root 4096 Mar 10 12:43 ..
drwxr-xr-x   2 ambari root 4096 Mar 10 12:48 bootstrap
drwxr-xr-x   2 ambari root 4096 Feb 23 01:33 stack-recommendations
# grep ambari-server.user /etc/ambari-server/conf/ambari.properties
ambari-server.user=ambari
{noformat}

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

Mime
View raw message