Skip to content

Commit

Permalink
Reimplement ShadowCopyAction.getPermissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Oct 28, 2023
1 parent b2e6667 commit bf36338
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ class ShadowCopyAction implements CopyAction {

@Override
FilePermissions getPermissions() {
return this.isDirectory() ? DefaultFilePermissions.DEFAULT_DIR_PERMISSIONS : DefaultFilePermissions.DEFAULT_FILE_PERMISSIONS
return new DefaultFilePermissions(getMode())
}

FileTreeElement asFileTreeElement() {
Expand Down

0 comments on commit bf36338

Please sign in to comment.