[
https://issues.apache.org/jira/browse/TEZ-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhang Dongsheng resolved TEZ-4412.
----------------------------------
Resolution: Fixed
> TezCommonUtils should ensure 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
> Assignee: Zhang Dongsheng
> Priority: Major
> Fix For: 0.9.3, 0.10.3
>
> Attachments: TEZ-4412.patch
>
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> 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.10#820010)