Explorar el Código

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

Nahappan Somasundaram hace 9 años
padre
commit
70ffe8d1e3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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):
   if recursive:
-    params = " -R "
+    params = " -R -L"
   else:
     params = ""
   command = NR_CHOWN_CMD.format(params, user, filePath)