[
https://issues.apache.org/jira/browse/HADOOP-6731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862043#action_12862043
]
Jakob Homan commented on HADOOP-6731:
-------------------------------------
If this change goes through, we should update the documentation in FsShell.java
(in common):
{noformat} "\tMODE\tMode is same as mode used for chmod shell command.\n" +
"\t\tOnly letters recognized are 'rwxXt'. E.g. +t,a+r,g-w,+rwx,o=r\n\n" +
"\tOCTALMODE Mode specifed in 3 or 4 digits. If 4 digits, the first
may\n" +
"\tbe 1 or 0 to turn the sticky bit on or off, respectively. Unlike " +
"\tshell command, it is not possible to specify only part of the mode\n"
+{noformat}
Eli - it's always good to consider the other components as well!
> Octal umask with less than 3 digits is not handled
> --------------------------------------------------
>
> Key: HADOOP-6731
> URL: https://issues.apache.org/jira/browse/HADOOP-6731
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.21.0, 0.22.0
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
> Fix For: 0.22.0
>
> Attachments: HADOOP-6731.patch
>
>
> Umasks with less than three digits should be accepted as valid umask. Umask
> with single digit, say 7, should be handled as 007. Similarly umask with two
> digits, say 77, should be handled as 077.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.