Skip to content

Commit

Permalink
stop allowing CE to chmod
Browse files Browse the repository at this point in the history
  • Loading branch information
jcatello authored Jan 10, 2022
1 parent ace5af5 commit 5096c02
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions inc/cache_enabler_disk.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1303,14 +1303,6 @@ private static function mkdir_p( $dir ) {
return false;
}

if ( $fs->getchmod( $parent_dir ) !== $mode_string ) {
return $fs->chmod( $parent_dir, $mode_octal, true );
}

if ( $fs->getchmod( $dir ) !== $mode_string ) {
return $fs->chmod( $dir, $mode_octal );
}

return true;
}

Expand Down

0 comments on commit 5096c02

Please sign in to comment.