[
https://issues.apache.org/jira/browse/YARN-11117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18037923#comment-18037923
]
ASF GitHub Bot commented on YARN-11117:
---------------------------------------
github-actions[bot] closed pull request #4243: YARN-11117 check permission for
LeveldbRMStateStore
URL: https://github.com/apache/hadoop/pull/4243
> LeveldbRMStateStore will not set to correct permissions
> -------------------------------------------------------
>
> Key: YARN-11117
> URL: https://issues.apache.org/jira/browse/YARN-11117
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager
> Affects Versions: 3.3.2
> Reporter: Zhang Dongsheng
> Priority: Major
> Labels: pull-request-available
> Attachments: YARN-11117-1.patch
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> LeveldbRMStateStore use fs.mkdirs(root,new FsPermission((short)0700)); to
> create root directory with permission 700.BUT if umask is too strict such as
> 0777, this directory will have wrong permission with 000. So it should check
> if umask can affect permission, if true , use setPermission to fix it
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]