You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/02/24 18:48:04 UTC

[jira] [Resolved] (AMBARI-9772) Ranger doesn't support non-root install

     [ https://issues.apache.org/jira/browse/AMBARI-9772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk resolved AMBARI-9772.
-------------------------------------
    Resolution: Fixed

Committed to trunk and branch-2.0.0

> Ranger doesn't support non-root install
> ---------------------------------------
>
>                 Key: AMBARI-9772
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9772
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.0.0
>
>
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 73, in <module>
>         RangerAdmin().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 208, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 36, in install
>         setup_ranger()
>       File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/setup_ranger.py", line 43, in setup_ranger
>         shutil.copyfile(file_path, params.ranger_home + '/install-bk.properties')
>       File "/usr/lib64/python2.6/shutil.py", line 50, in copyfile
>         with open(src, 'rb') as fsrc:
>     IOError: [Errno 13] Permission denied: '/usr/hdp/current/ranger-admin/install.properties'
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)