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

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

Previously TestHDFSCLI failed because it didn't expect to see 'x' after "chmod 
777". The test has been fixed.
touchz still creates files without +x. I've added one more test step in 
TestPermission to verify this. Just uploaded a new patch for this.

TestFcHdfsSymlink failure is not introduced by this patch. JIRA HDFS-4662 has 
been filed to track it.
                
> 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, 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