[
https://issues.apache.org/jira/browse/AMBARI-12448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14631384#comment-14631384
]
Hudson commented on AMBARI-12448:
---------------------------------
SUCCESS: Integrated in Ambari-branch-2.1 #235 (See
[https://builds.apache.org/job/Ambari-branch-2.1/235/])
AMBARI-12448. Non-Root: Ranger Admin install fails with permission denied
(aonishuk) (aonishuk:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4c0dcf62e8147a5db0f1a531b700276a8efc296b)
* ambari-common/src/main/python/resource_management/core/sudo.py
*
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
*
ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py
* ambari-common/src/main/python/resource_management/core/providers/system.py
> Non-Root: Ranger Admin install fails with permission denied
> -----------------------------------------------------------
>
> Key: AMBARI-12448
> URL: https://issues.apache.org/jira/browse/AMBARI-12448
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.0
>
>
> When installing Ranger on Ambari 2.1.0-1426 with 2.3.0.0-2553 with non-root
> server/agent, umask 027 the Ranger Admin Install fails with the following
> error:
>
>
> resource_management.core.exceptions.Fail: Execution of 'python
> /usr/hdp/current/ranger-admin/dba_script.py -q' returned 1. Traceback (most
> recent call last):
> File "/usr/hdp/current/ranger-admin/dba_script.py", line 1412, in
> <module>
> main(sys.argv)
> File "/usr/hdp/current/ranger-admin/dba_script.py", line 1104, in main
> populate_global_dict()
> File "/usr/hdp/current/ranger-admin/dba_script.py", line 63, in
> populate_global_dict
> read_config_file =
> open(os.path.join(RANGER_ADMIN_HOME,'install.properties'))
> IOError: [Errno 13] Permission denied:
> '/usr/hdp/current/ranger-admin/install.properties'
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)