Various package updates fail with the misleading message "Failed deleting inaccessible file".
The message / error appears to be generated in
public static function delete
in libraries/vendor/joomla/filesystem/src/File.php
The error is thrown when a file cannot be chmod'd.
This error will occur when the file is OWNed by other than the webserver or php process. e.g. php-fpm.
HOWEVER the file and the directory it is in may still be writeable by the webserver or php process or other (e.g. on Linux) and therefore actually deletable.
Checking file ownership may not be an appropriate test for file deletability. In very secure installations Joomla and web file ownerships may be deliberately set during normal operation to an owner other than the webserver or php process. File and directory write permissions could be enabled temporarily by the admin before doing an update (as I do).
The Joomla core or extension update should complete without error
The Joomla core or extension update fails with the misleading message "Failed deleting inaccessible file".
Any Linux or Unix system
Title |
|
Labels |
Added:
J3 Issue
|
@brettdelmage I guess you Report about J3 so i set J3 Issue-Label. Please give System Information reporting an Issue.
Status | New | ⇒ | Information Required |
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-04-17 06:52:52 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed as duplicate Report. @brettdelmage thanks for Report, don't hesitate to report further.
@brettdelmage I guess you Report about J3 so i set J3 Issue-Label.
Thanks, I am new to this so overlooked that.
Please give System Information reporting an Issue.
As I reported, the System version is irrelevant, otherwise I would have included it. Thanks.
Related #23504 ?