diff --git a/wp-admin/includes/class-wp-filesystem-ssh2.php b/wp-admin/includes/class-wp-filesystem-ssh2.php index 7ee9f9a78f..4ed94ea067 100644 --- a/wp-admin/includes/class-wp-filesystem-ssh2.php +++ b/wp-admin/includes/class-wp-filesystem-ssh2.php @@ -695,6 +695,9 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base { return false; } + // Set directory permissions. + ssh2_sftp_chmod( $this->sftp_link, $path, $chmod ); + if ( $chown ) { $this->chown( $path, $chown ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index b56809469e..d78145e1f6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48089'; +$wp_version = '5.5-alpha-48090'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.