Subject: | Misleading message about insufficient permissions in _can_write |
When user tries to install some module without write permissions to $Config::Config{sitelib}, he/she could receive a misleading message that $path is not writeable while it is. Attached patch makes the message consistent with the check.
--- AutoInstall.pm.orig Thu Jul 15 22:27:18 2004
+++ AutoInstall.pm Thu Jul 15 22:27:52 2004
@@ -783,7 +783,7 @@
return 1 if -w $path and -w $Config::Config{sitelib};
print << ".";
-*** You are not allowed to write to the directory '$path';
+*** You are not allowed to write to the directories '$path' and '$Config::Config{sitelib}';
the installation may fail due to insufficient permissions.
.