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

Suresh Srinivas commented on HADOOP-6731:
-----------------------------------------

On HDFS we do not support set-user-ID-on-execution-bit. On linux all the 
following is support for chmod:
7, 77, 777, 1777. Should we make chmod parser also consistent with this? I feel 
we should either change both creation umask and chmod umask or leave both of 
them as it is. Any thoughts?

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

Reply via email to