Open Amenel opened 4 years ago
It sounds like Git will create readonly files for some reason. https://stackoverflow.com/questions/6867336/why-is-git-creating-read-only-444-files
We could try adding a step to chmod all the files before clearing out the temp files. That might solve this problem.
@Amenel have you found some workaround for this so far, please?
also having problems here
I am getting the error detailed below on the first runs of the upgrader.
This is the contents of composer.json:
It looks like the dependencies are downloaded to a temporary location and then removed. In that process, the removal of files used by git fails and the upgrader is interrupted. This behavior is very strange: these are files that did not exist before the upgrader command was launched. The files are created by running the upgrader, and I would guess that they are owned by the current user (i.e. me). I can't fathom why these files show up in the file explorer as read-only, which is probably why the removal fails, even when in an administrator-mode command line window.
Here are the relevant lines in the command line window: