You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "László Bodor (Jira)" <ji...@apache.org> on 2022/05/07 07:51:00 UTC

[jira] [Assigned] (TEZ-4412) TezCommonUtils shouldensure that permissions are properly granted

     [ https://issues.apache.org/jira/browse/TEZ-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

László Bodor reassigned TEZ-4412:
---------------------------------

    Assignee: Zhang Dongsheng

> 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
>            Assignee: Zhang Dongsheng
>            Priority: Major
>         Attachments: TEZ-4412.patch
>
>          Time Spent: 0.5h
>  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)