Skip to content

Commit 58da5e7

Browse files
committed
Revert "BZ 1065438: apply umask in setPermission"
This reverts commit 961c13d.
1 parent 961c13d commit 58da5e7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/org/apache/hadoop/fs/glusterfs/GlusterVolume.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,7 @@ public void setOwner(Path p, String username, String groupname)
338338

339339
public void setPermission(Path p, FsPermission permission)
340340
throws IOException {
341-
/**BZ1065438: apply uMask for permission **/
342-
super.setPermission(p,permission.applyUMask(FsPermission.getUMask(getConf())));
343-
341+
super.setPermission(p,permission);
344342
}
345343

346344
public BlockLocation[] getFileBlockLocations(FileStatus file,long start,long len) throws IOException{

0 commit comments

Comments
 (0)