Browse Source

AMBARI-16413: Ambari server does not start because of permission issues on symbolic links

Nahappan Somasundaram 9 years ago
parent
commit
70ffe8d1e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-common/src/main/python/ambari_commons/os_linux.py

+ 1 - 1
ambari-common/src/main/python/ambari_commons/os_linux.py

@@ -51,7 +51,7 @@ def os_run_os_command(cmd, env=None, shell=False, cwd=None):
 
 
 def os_change_owner(filePath, user, recursive):
 def os_change_owner(filePath, user, recursive):
   if recursive:
   if recursive:
-    params = " -R "
+    params = " -R -L"
   else:
   else:
     params = ""
     params = ""
   command = NR_CHOWN_CMD.format(params, user, filePath)
   command = NR_CHOWN_CMD.format(params, user, filePath)