hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6511) FsPermission.getDefault choice of 0777 is bad in all cases
Date Thu, 28 Jan 2010 22:19:34 GMT

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

Tsz Wo (Nicholas), SZE commented on HADOOP-6511:
------------------------------------------------

> ... closing this as invalid... 
+1

> FsPermission.getDefault choice of 0777 is bad in all cases
> ----------------------------------------------------------
>
>                 Key: HADOOP-6511
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6511
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.20.1
>         Environment: hadoop 20.1, java 1.6.0_17, Fedora
>            Reporter: robert Cook
>
>   /** Get the default permission. */
> 227	  public static FsPermission getDefault() {
> 228	    return new FsPermission((short)00777);
> 229	  }
> setting any data file to execute-others is bad security under all circumstances
> should be 664 or 644

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message