[ 
https://issues.apache.org/jira/browse/HDFS-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620278#comment-13620278
 ] 

Brandon Li commented on HDFS-4659:
----------------------------------

@Daryn, thanks for the hints.
Here the change is not to change the default file mode when the regular file is 
created. It just allows the user to set execution permissions on file. 

                
> Support setting execution bit for regular files
> -----------------------------------------------
>
>                 Key: HDFS-4659
>                 URL: https://issues.apache.org/jira/browse/HDFS-4659
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>         Attachments: HDFS-4659.patch, HDFS-4659.patch
>
>
> By default regular files are created with mode "rw-r--r--", which is similar 
> as that on many UNIX platforms. However, setting execution bit for regular 
> files are not supported by HDFS. 
> It's the client's choice to set file access mode. HDFS would be easier to use 
> if it can support it, especially when HDFS is accessed by network file system 
> protocols. This JIRA is to track the change to support execution bit. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to