hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Gupta (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2427) webhdfs mkdirs api call creates path with 777 permission, we should default it to 755
Date Mon, 10 Oct 2011 20:10:29 GMT

    [ https://issues.apache.org/jira/browse/HDFS-2427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124444#comment-13124444
] 

Arpit Gupta commented on HDFS-2427:
-----------------------------------

make a mkdir call

curl -i -X PUT "http://localhost:50070/webhdfs/tmp/webhdfs_data/new3?OP=MKDIRS"

check the permission of the dir created. Its 777. we should not default to 777. When i manually
create the dir using bin/hadoop dfs -mkdir hdfs:// or webhdfs:// paths it gets 755 permission
                
> webhdfs mkdirs api call creates path with 777 permission, we should default it to 755
> -------------------------------------------------------------------------------------
>
>                 Key: HDFS-2427
>                 URL: https://issues.apache.org/jira/browse/HDFS-2427
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message