cheyu2022 commented on a change in pull request #3953:
URL: https://github.com/apache/hadoop/pull/3953#discussion_r800228490
##########
File path:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/viewfs/TestViewFileSystemHdfs.java
##########
@@ -479,4 +485,22 @@ public Object run() throws IOException {
assertEquals("The owner did not match ", owner,
userUgi.getShortUserName());
otherfs.delete(user1Path, false);
}
+
+ @Test
Review comment:
You are right.. Looks like the permissions are inconsistent. With the
change the default perm we use in `mkdirs` is 777 but
`fs.getFileStatus(xxx).getPermission()` returns 751 for both internal and real
dirs (regardless of whether we revert the change or not). I'm not sure why but
I'll dig into this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]