That would not be possible, on account of the code having to do with file extraction finalization (where permissions are set) having literally not been touched in two years.
If you read the CHANGELOG, the only changes between 8.0.4 and 8.0.5 are:
Remove CURLOPT_BINARYTRANSFER. This flag did absolutely nothing in PHP for nearly 15 years, therefore it's time to remove it. Only used in Kickstart Pro when retrieving files from remote storage.
Clear PHP filestat cache before trying to write to a file. We noticed that cPanel-based hosts fail to extract the backup archive when you're using recent versions of PHP compiled after the beginning of May 2024. A change in cPanel's patching of PHP made it so that a manual clearstatcache()
is now required before writing to files. This merely tells PHP "Please forget what you remembered about files existing, and their sizes. Next time I ask you to open a file, ask the Operating System if the file exists and whether it's readable and writeable".
This will NOT change the permissions an extracted file is created with. We literally just do
$outfp = @fopen($this->fileHeader->realFile, 'w');
We do not set permissions here. PHP creates the file using the default umask.
After we are done writing to the file, we have the post-processing. Here, two things can happen:
- If "Restore file permissions" was checked: Kickstart restores the file / folder permissions as they were recorded in the backup archive at backup time.
- If "Restore file permissions" was NOT checked: Kickstart applies 0644 permissions to files, and 0755 permissions to folders.
This part of the code has NOT changed since August 2014 β ten years ago.
So, what I suspect happened is that you accidentally checked the "Restore file permissions" box. The permissions of the files were the very much not recommended 0666 which is why you had a problem. Going back a version did nothing, really. The only difference is that this time you didn't check the box, hence Kickstart fell back to its default behaviour of giving files 0644 permissions.
Nicholas K. Dionysopoulos
Lead Developer and Director
π¬π·Greek: native π¬π§English: excellent π«π·French: basic β’ π My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!