[ https://issues.apache.org/jira/browse/MAPREDUCE-7375?focusedWorklogId=765306&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-765306 ]
ASF GitHub Bot logged work on MAPREDUCE-7375: --------------------------------------------- Author: ASF GitHub Bot Created on: 03/May/22 07:28 Start Date: 03/May/22 07:28 Worklog Time Spent: 10m Work Description: skysiders commented on PR #4237: URL: https://github.com/apache/hadoop/pull/4237#issuecomment-1115812225 In this PR , I set permission for directory with special permission after mkdir, so that the directory can has right permission Issue Time Tracking ------------------- Worklog Id: (was: 765306) Time Spent: 1h (was: 50m) > JobSubmissionFiles don't set right permission after mkdirs > ---------------------------------------------------------- > > Key: MAPREDUCE-7375 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-7375 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 3.3.2 > Reporter: Zhang Dongsheng > Priority: Major > Labels: pull-request-available > Attachments: MAPREDUCE-7375.patch > > Time Spent: 1h > Remaining Estimate: 0h > > JobSubmissionFiles provide getStagingDir to get Staging Directory.If > stagingArea missing, method will create new directory with this. > {quote}fs.mkdirs(stagingArea, new FsPermission(JOB_DIR_PERMISSION));{quote} > It seems create new directory with JOB_DIR_PERMISSION,but this permission > will be apply by umask.If umask too strict , this permission may be 000(if > umask is 700).So we should change permission after create. -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org