You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Virag Kothari (JIRA)" <ji...@apache.org> on 2012/12/04 01:37:58 UTC

[jira] [Updated] (OOZIE-1093) recursive fs chmod does not change the leaf directory

     [ https://issues.apache.org/jira/browse/OOZIE-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Virag Kothari updated OOZIE-1093:
---------------------------------

    Attachment: OOZIE-1093.patch
    
> recursive fs chmod does not change the leaf directory
> -----------------------------------------------------
>
>                 Key: OOZIE-1093
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1093
>             Project: Oozie
>          Issue Type: Bug
>          Components: workflow
>    Affects Versions: 3.3.0
>            Reporter: michelle chiang
>            Priority: Minor
>         Attachments: OOZIE-1093.patch
>
>
> per OOZIE-881, workflow.xml:
>         <fs>
>              <chmod path='${newdirroot}' permissions='500' >
>                  <recursive/>
>              </chmod>
>         </fs>
> where
> newdirroot=hdfs://gsbl90771.blue.ygrid.yahoo.com:8020/user/mchiang/yoozie_test_rootdir/testcases/testcase-wf-fschmod/data/dir1
> but the leaf directory permission is not changed.
> $ hadoop fs -lsr hdfs://gsbl90771.blue.ygrid.yahoo.com:8020/user/mchiang/yoozie_test_rootdir/testcases/testcase-wf-fschmod/data
> lsr: DEPRECATED: Please use 'ls -R' instead.
> dr-x------   - mchiang hdfs          0 2012-11-27 22:14 hdfs://gsbl90771.blue.ygrid.yahoo.com:8020/user/mchiang/yoozie_test_rootdir/testcases/testcase-wf-fschmod/data/dir1
> dr-x------   - mchiang hdfs          0 2012-11-27 22:14 hdfs://gsbl90771.blue.ygrid.yahoo.com:8020/user/mchiang/yoozie_test_rootdir/testcases/testcase-wf-fschmod/data/dir1/dir2
> drwx------   - mchiang hdfs          0 2012-11-27 22:14 hdfs://gsbl90771.blue.ygrid.yahoo.com:8020/user/mchiang/yoozie_test_rootdir/testcases/testcase-wf-fschmod/data/dir1/dir2/dir3

--
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