[Joomla] 可能無法複製所選取的檔案.

在 Linux 之類的系統下跑 Joomla, 於安裝 Joomla 擴充套件 (包含套件, 外掛, 佈景主題等) 可能因為檔案屬性的設定問題 (詳情請見 [Joomla] 警告! – 無法移動檔案 一文的前言說明) 會遇到以下這個錯誤提示訊息:

可能無法複製所選取的檔案.

解法:
在安裝擴充套件期間, 暫時將 …/Joomla/ 目錄內的所有目錄與檔案都給予 other 身分 寫(w) 的屬性權限 (即, 命令: chmod o+w -R Joomla/); 安裝完擴充套件以後再將屬性改回 (即, 命令: chmod o+w -R Joomla/), 但是要特別注意要將以下幾個資料夾的 寫(w) 的屬性權限保留:

…/Joomla/cache/
…/Joomla/administrator/cache/

以避免遇到 [Delete failed: ‘5d3370c8cf39dcebf24c.php’] 之類的錯誤訊息.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.