Hi
1- I can find the problem why "remove installation folder" not work in joomla 3.9.
in new File.php in joomla 3.9 added an new IF too delete function :
Code: Select all
if (!Path::canChmod($file))
{
throw new FilesystemException(__METHOD__ . ': Failed deleting inaccessible file ' . $filename);
}
"canChmod" works is : Checks if a path's permissions can be changed.
And if the answer is negative. Deletion steps are not continued.
I do not know why this Condition is included in version 3.9 of Joomla!
without access to the change of the permissions, this function can also delete the files. As it was done in previous versions.
of course, Joomla's developers have an important reason.
My suggestion is that a more complete and accurate error will be logged, To understand the error, No need to render the source of Joomla!
And on Ubuntu's operating system, because xampp and ampps are installed in system directorys. Changing the permissions requires root access, which is why the problem was encountered.
2- Obviously, Joomla's developers have deliberately or unintentionally done something: the new delete function in Joomla 3.9, which is in a new path, If you encounter an error while deleting. The old delete function will be used if available in the old path.