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

Zhang Dongsheng updated YARN-11231:
-----------------------------------
    Component/s: yarn
    Description: FSDownload calls createDir in the call method to create the 
destinationTmp directory, which is later used as the parent directory to create 
the directory dFinal, which is used in doAs to perform operations such as path 
creation and path traversal. doAs cannot determine the user's identity, so 
there is a problem with setting 755 permissions for destinationTmp here, I 
think it should be set to 777 permissions here.

> FSDownload set wrong permission in destinationTmp
> -------------------------------------------------
>
>                 Key: YARN-11231
>                 URL: https://issues.apache.org/jira/browse/YARN-11231
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: yarn
>            Reporter: Zhang Dongsheng
>            Priority: Major
>
> FSDownload calls createDir in the call method to create the destinationTmp 
> directory, which is later used as the parent directory to create the 
> directory dFinal, which is used in doAs to perform operations such as path 
> creation and path traversal. doAs cannot determine the user's identity, so 
> there is a problem with setting 755 permissions for destinationTmp here, I 
> think it should be set to 777 permissions here.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to