You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "XieXianshan (JIRA)" <ji...@apache.org> on 2011/08/31 15:30:10 UTC
[jira] [Updated] (HADOOP-7597) dfs -chmod does not work as expected
[ https://issues.apache.org/jira/browse/HADOOP-7597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
XieXianshan updated HADOOP-7597:
--------------------------------
Status: Patch Available (was: Open)
fixed it.
> dfs -chmod does not work as expected
> ------------------------------------
>
> Key: HADOOP-7597
> URL: https://issues.apache.org/jira/browse/HADOOP-7597
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.24.0
> Reporter: XieXianshan
> Assignee: XieXianshan
> Priority: Trivial
> Fix For: 0.24.0
>
> Attachments: HADOOP-7597.patch
>
>
> The operator "=" of chmod should have the top priority,i.e,the rest operators should be omitted if the first operator is "=".
> For example:
> # hdfs dfs -ls /user/
> dr--r--r-- - root supergroup 0 2011-08-31 19:42 /user/hadoop
> # hdfs dfs -chmod =+w /user/hadoop
> # hdfs dfs -ls /user/
> d-w--w--w- - root supergroup 0 2011-08-31 19:42 /user/hadoop
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira