[
https://issues.apache.org/jira/browse/TEZ-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14085319#comment-14085319
]
Hitesh Shah commented on TEZ-290:
---------------------------------
Sorry for the back-n-forth on this [~jeagles]. My previous comment was wrong as
pointed out offline by [~bikassaha].
>From a security point of view, the directory created as part of
>TezCommonUtils::createTezSystemStagingPath() ( where the tez framework puts
>all of its files, etc ) should be the one with the restrictive permissions and
>in that case, the base staging dir does not need to have restrictive
>permissions. Does this approach work from a security point of view and work
>similar to MR's mode of operation?
> TezClientUtils::ensureStagingDirExists() needs cleaning up
> -----------------------------------------------------------
>
> Key: TEZ-290
> URL: https://issues.apache.org/jira/browse/TEZ-290
> Project: Apache Tez
> Issue Type: Sub-task
> Reporter: Hitesh Shah
> Assignee: Jonathan Eagles
> Attachments: TEZ-290-v1.patch, TEZ-290-v2.patch
>
>
> API is meant to validate and/or create the staging dir. Returns a filesystem
> object. Requires a very fixed permission value for the dir if dir already
> created. Should allow more permissive values as long as there is read/write
> access.
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)