ubuntu下composer許可權問題
問題描述
composer 執行報錯
Cannot create cache directory /home/$user/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/$user/.composer/cache/files/, or directory is not writable. Proceeding without cache
.composer目錄無寫許可權
解決
- 解決方法
sudo chmod -R 777 /home/$user/.composer/
本作品採用《CC 協議》,轉載必須註明作者和本文連結