소스 검색

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

Nahappan Somasundaram 9 년 전
부모
커밋
70ffe8d1e3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)