[
https://issues.apache.org/jira/browse/HADOOP-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raghu Angadi updated HADOOP-2336:
---------------------------------
Attachment: HADOOP-2336.patch
Patch for shell commands. It is tested with one of the patches for HADOOP-1298,
but does not depend on it.
Unit test is added for chmod. Currently tests use local file system. I will
another jira to add DFS test once HADOOP-1298 is committed. With localfs, not
sure how to test chown and chgrp.
This requires patch from HADOOP-2381.
You can test the commands like this :
{{$ bin/hadoop fs -D fs.default.name=local -chmod a+rwX /usr /tmp/x}}
The help message for chmod has changed a little bit (supports 'X').
> Shell commands to access and modify file permissions
> ----------------------------------------------------
>
> Key: HADOOP-2336
> URL: https://issues.apache.org/jira/browse/HADOOP-2336
> Project: Hadoop
> Issue Type: New Feature
> Components: fs
> Reporter: Raghu Angadi
> Assignee: Raghu Angadi
> Fix For: 0.16.0
>
> Attachments: HADOOP-2336.patch
>
>
> Hadoop 0.16 includes file permissions in DFS and we need FsShell to support
> common file permissions related commands :
> - chown
> - chgrp
> - chmod
> Also output from some of the commands like {{ls -l}} will change to reflect
> new file properties. Aim is to make the above commands look like its
> Unix/Linux couterparts. They will of course support only the subset of the
> options.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.