[
https://issues.apache.org/jira/browse/HIVE-13662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15321019#comment-15321019
]
Pengcheng Xiong commented on HIVE-13662:
----------------------------------------
Here is what they say "When the new create(path, permission, …) method (with
the permission parameter P) is used, the mode of the new file is P & ^umask &
0666." In my case, P=777, umask=022, the result should be 0644. But it is
0655. Even if i got umask wrong, there is no way that we can get the last bit x
in rwxr-xr-x with & 0666
> 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)