HADOOP-13315. FileContext#umask is not initialized properly. (John Zhuge via lei)

This commit is contained in:
Lei Xu 2016-07-12 16:49:32 -07:00
parent d5f5a6475b
commit a290a98b6a
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ public class FileContext {
private FileContext(final AbstractFileSystem defFs,
final FsPermission theUmask, final Configuration aConf) {
defaultFS = defFs;
umask = FsPermission.getUMask(aConf);
umask = theUmask;
conf = aConf;
tracer = FsTracer.get(aConf);
try {