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

Chris Nauroth commented on HADOOP-10352:
----------------------------------------

Thanks, Arpit.  I'll commit this shortly.

bq. Chris, will the #LF# checks fail on Windows due to the extra CR?

No, actually this is a bit of indirection implemented in {{TestAclCLI}} so that 
we have a platform-agnostic token for the line separator inside the XML file.  
At runtime, this gets replaced with the platform-specific line separator:

{code}
    expCmd = expCmd.replaceAll("#LF#",
        System.getProperty("line.separator"));
{code}


> Recursive setfacl erroneously attempts to apply default ACL to files.
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-10352
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10352
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 3.0.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-10352.1.patch
>
>
> When calling setfacl -R with an ACL spec containing default ACL entries, the 
> command can fail if there is a mix of directories and files underneath the 
> specified path.  It attempts to set the default ACL entries on the files, but 
> only directories can have a default ACL.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to