You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/02/06 20:21:44 UTC

[GitHub] [hadoop] cheyu2022 commented on a change in pull request #3953: HADOOP-18109. Ensure that default permissions of directories under internal ViewFS directories are the same as directories on target filesystems

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: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org