It's me again :)
I have an issue with the removal of package files in a Unite restore process: Unite fails to remove the package:
[INFO ] Renaming the existing .htaccess file
[INFO ] Writing a stealth .htaccess file
[INFO ] Extracting backup archive
925891408 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 31 secs 10.0 MiB[WARNING] Could not delete package site-redacted.com-20230216-161831cet-j6yQoCp3v4lX-kOs.jpa. You'll have to do it manually.
[INFO ] Checking ANGIE support
[INFO ] Setting up the restoration script for unattended restoration
[INFO ] Locking the web restoration script with a random password
[INFO ] Detected site restoration platform: Joomla
[INFO ] Resetting the restoration script
[INFO ] Detecting the backed up site's CMS version
[INFO ] Detecting the backed up site's configuration
[INFO ] Starting restoration of database contents
[INFO ] Restoring site database
Not sure if it matters: I was running Unite in verbose mode.
The package file was fetched from a remote, so it was created in the exact same process where it should have been deleted. Deleting the file with the same unix user that executed the script worked perfectly fine. Maybe a bug in the deletion logic?