AMBARI-8005. Cannot get 1.7.0 to start with non-root daemon (aonishuk)

Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2e81d483
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2e81d483
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2e81d483

Branch: refs/heads/branch-1.7.0
Commit: 2e81d48366b45f699ba811c2e9c78ae781dddaef
Parents: 3e7ba61
Author: Andrew Onishuk <[email protected]>
Authored: Thu Oct 30 16:41:26 2014 +0200
Committer: Andrew Onishuk <[email protected]>
Committed: Thu Oct 30 16:41:26 2014 +0200

----------------------------------------------------------------------
 ambari-server/src/main/python/ambari-server.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2e81d483/ambari-server/src/main/python/ambari-server.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/ambari-server.py 
b/ambari-server/src/main/python/ambari-server.py
index ee5ed17..69f436b 100755
--- a/ambari-server/src/main/python/ambari-server.py
+++ b/ambari-server/src/main/python/ambari-server.py
@@ -562,6 +562,8 @@ NR_ADJUST_OWNERSHIP_LIST = [
   ("/etc/ambari-server/conf/password.dat", "640", "{0}", False),
   ("/var/lib/ambari-server/keys/pass.txt", "640", "{0}", False),
   ("/etc/ambari-server/conf/ldap-password.dat", "640", "{0}", False),
+  ("/var/run/ambari-server/stack-recommendations/", "644", "{0}", True),
+  ("/var/run/ambari-server/stack-recommendations/", "755", "{0}", False),
   # Also, /etc/ambari-server/conf/password.dat
   # is generated later at store_password_file
 ]

Reply via email to