diff --git a/src/src/Environment/ExtensionDownload/ExtensionDownloader.php b/src/src/Environment/ExtensionDownload/ExtensionDownloader.php index b87ab128..9f48f88a 100644 --- a/src/src/Environment/ExtensionDownload/ExtensionDownloader.php +++ b/src/src/Environment/ExtensionDownload/ExtensionDownloader.php @@ -77,6 +77,11 @@ public function download( EnvInfo $env_info, string $cache_dir, array $plugins = } elseif ( is_dir( $e->path ) ) { if ( ! getenv( 'QIT_ALLOW_WRITE' ) ) { // Set it as read-only to prevent dev messing up their local copy inadvertently (default behavior). + + // Inform the user about the read-only mapping + $this->output->writeln( "Notice: Mapping '{$e->type}s/{$e->extension_identifier}' as read-only to protect your local copy." ); + + // Set it as read-only $env_info->volumes["/app/wp-content/{$e->type}s/{$e->extension_identifier}:ro"] = $e->path; } else { $env_info->volumes["/app/wp-content/{$e->type}s/{$e->extension_identifier}"] = $e->path;