[ https://issues.apache.org/jira/browse/HIVE-13662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320074#comment-15320074 ]
Pengcheng Xiong commented on HIVE-13662: ---------------------------------------- Hi [~ashutoshc], I found a bigger problem. It sounds like that when we call {code} HiveFileFormatUtils.getHiveRecordWriter(jc, conf.getTableInfo(), outputClass, conf, fsp.outPaths[filesIdx], permission, reporter); {code} in case of HiveIgnoreKeyTextOutputFormat, for example, {code} createOutStream = Utilities.createCompressedStream( jc, fs.create(outPath, permission, true, fs.getConf().getInt("io.file.buffer.size", 4096), fs.getDefaultReplication(outPath), fs.getDefaultBlockSize(outPath), progress), isCompressed); {code} if {code} permission{code} is rwxrwxrwx, the outPath is still rwxr-xr-x. It sounds like this fs.create with permission does not work.... > Set file permission and ACL in file sink operator > ------------------------------------------------- > > Key: HIVE-13662 > URL: https://issues.apache.org/jira/browse/HIVE-13662 > Project: Hive > Issue Type: Bug > Reporter: Rui Li > Assignee: Pengcheng Xiong > Attachments: HIVE-13662.01.patch > > > As suggested > [here|https://issues.apache.org/jira/browse/HIVE-13572?focusedCommentId=15254438&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15254438]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)