[
https://issues.apache.org/jira/browse/TEZ-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhang Dongsheng updated TEZ-4412:
---------------------------------
Description: I found TezClientUtils has method ensureStagingDirExists.It
will check whether the path "stagingArea" exists, if it exists, check the
permission, if not, call the function "TezCommonUtils.mkDirForAM" to create.But
in method mkDirForAM,it use mkdir(path, permission) to create, if umask too
strict such as 777,this directory will set with 000 permission.So we need to
ensure the directory has right permission.
> TezCommonUtils shouldensure that permissions are properly granted
> -----------------------------------------------------------------
>
> Key: TEZ-4412
> URL: https://issues.apache.org/jira/browse/TEZ-4412
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Zhang Dongsheng
> Priority: Major
> Attachments: TEZ-4412.patch
>
>
> I found TezClientUtils has method ensureStagingDirExists.It will check
> whether the path "stagingArea" exists, if it exists, check the permission, if
> not, call the function "TezCommonUtils.mkDirForAM" to create.But in method
> mkDirForAM,it use mkdir(path, permission) to create, if umask too strict such
> as 777,this directory will set with 000 permission.So we need to ensure the
> directory has right permission.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)