[ 
https://issues.apache.org/jira/browse/TEZ-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17534148#comment-17534148
 ] 

László Bodor commented on TEZ-4412:
-----------------------------------

merged to master, pushed to branch-0.9
thanks [~skysider] for the patch!

> 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.2
>
>         Attachments: TEZ-4412.patch
>
>          Time Spent: 2h 40m
>  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.7#820007)

Reply via email to