diff --git a/src/PHP.php b/src/PHP.php index 53aba72..c5ced33 100644 --- a/src/PHP.php +++ b/src/PHP.php @@ -476,7 +476,7 @@ private function configure_site_files() { // Assign www-data user ownership. chdir( $this->site_data['site_fs_path'] ); - \EE_DOCKER::docker_compose_exec( sprintf( 'chown -R www-data: %s', $this->site_data['site_container_fs_path'], 'php', 'bash', 'root' ) ); + \EE_DOCKER::docker_compose_exec( 'chown -R www-data: /var/www/', 'php', 'bash', 'root' ); \EE::success( 'Configuration files copied.' ); } catch ( \Exception $e ) {