hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-11347) Inconsistent enforcement of umask between FileSystem and FileContext interacting with local file system.
Date Tue, 02 Dec 2014 21:30:12 GMT
Chris Nauroth created HADOOP-11347:
--------------------------------------

             Summary: Inconsistent enforcement of umask between FileSystem and FileContext
interacting with local file system.
                 Key: HADOOP-11347
                 URL: https://issues.apache.org/jira/browse/HADOOP-11347
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs
            Reporter: Chris Nauroth


The {{FileSystem}} and {{FileContext}} APIs are inconsistent in enforcement of umask for newly
created directories.  {{FileContext}} utilizes configuration property {{fs.permissions.umask-mode}}
and runs a separate {{chmod}} call to guarantee bypassing the process umask.  This is the
expected behavior for Hadoop as discussed in the documentation of {{fs.permissions.umask-mode}}.
 For the equivalent {{FileSystem}} APIs, it does not use {{fs.permissions.umask-mode}}.  Instead,
the permissions end up getting controlled by the process umask.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message