[
https://issues.apache.org/jira/browse/DRILL-5391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15945335#comment-15945335
]
Arina Ielchiieva commented on DRILL-5391:
-----------------------------------------
During CTTAS implementation we needed to set permission during folder / file
creation, and in code not to distinguish between for which tables folder /
files are created, we pass StorageStrategy object which tells Drill folder /
file permission that should be used. Before that changes Drill has used default
permission dictated by underlined file system used for CTAS. In most cases and
files systems, defaults are 775 & 644 for folder and files respectively. I
didn't really make the permissions more restrictive, it's just approach has
changed.
> CTAS: folder and file permission should be configurable
> -------------------------------------------------------
>
> Key: DRILL-5391
> URL: https://issues.apache.org/jira/browse/DRILL-5391
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.9.0, 1.10.0
> Environment: CentOS 7, HDP 2.4
> Reporter: Chua Tianxiang
> Priority: Minor
> Attachments: Drill-1-10.PNG, Drill-1-9.PNG
>
>
> In Drill 1.9, CREATE TABLE AS creates a folder with permissions 777, while on
> Drill 1.10, the same commands creates a folder with permission 775. Both
> drills are started with root user, installed on the same servers and accesses
> the same HDFS.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)