Closed peterjaap closed 4 years ago
hey @peterjaap thanks for checking this out.
The latest commit https://github.com/extdn/installer-m2/commit/fe6515e7b8684a5553a94284465e81f4d675c224 should take care of what I missed in a refactor.
If you could confirm that there is indeed a permission issue to start with that be great. We use find . ! -writable -not -path "*.git/objects/pack*"
to find files not writable by the current user.
That is indeed the case;
➜
______ _ _____ _ _ _____ _ _ _
| ____| | | | __ \| \ | | |_ _| | | | | |
| |__ __ _| |_| | | | \| | | | _ __ ___| |_ __ _| | | ___ _ __
| __| \ \/ / __| | | | . ` | | | | '_ \/ __| __/ _` | | |/ _ \ '__|
| |____ > <| |_| |__| | |\ | _| |_| | | \__ \ || (_| | | | __/ |
|______/_/\_\__|_____/|_| \_| |_____|_| |_|___/\__\__,_|_|_|\___|_|
➜ Running ExtDN Installer
[ExtDN\Task\CheckMagentoRoot] Checking that we are running in the correct folder.
[ExtDN\Task\CheckMagentoRoot] [OK]
[ExtDN\Task\CheckPermissions] Checking current user.
[ExtDN\Task\CheckPermissions] [OK]
[ExtDN\Task\CheckPermissions] Checking file ownership.
[ExtDN\Task\CheckPermissions] The following files are not writable for the current user
./.git/objects/55/f966853b0a2d2d5d7eed19d29c0cfb76d6ff73
./.git/objects/2e/8cdeca624d145925aa7c252033a247853ab0f5
./.git/objects/6e/f1a687e1f46a73a80b4949b9aacdcaf55e267b
./.git/objects/6e/22da6db28b33de1d3a44a939fc099b5789d340
./.git/objects/cd/48ce00207933bf985c1cfa63bb85c95f4571be
./.git/objects/e9/4ccb0fcc89a3e3ba047e88ecf94c71d886b6ca
./.git/objects/e6/f7129f5f79380b75d99fca6f0a8714fa657340
etc
However, these are owned by the user I'm running the command with;
sh -ic "$(curl -sS https://raw.githubusercontent.com/extdn/installer-m2/v1.0.0-beta4/bin/oneliner.sh)" -- install kiwicommerce/module-admin-activity
We are using Docker as our development environment, so the command is run through PHP, which runs in a Docker container. I haven't really had any issues with that before, permissions-wise, so I'm not sure why that happens now?
@peterjaap thanks for that. Do you mind running this command?
find . ! -writable -not -path "*.git/objects/pack*"
and this
find . ! -writable -not -path "*.git/objects/*"
I currently do not think this is a docker issue but git for some reason seems to produce files which are owned by the user but not writable. I so far had them excluded with the first query but it looks these type of files can be in different paths.
If the second query works (ie no files show up) - I will push out a new version with this amendment.
@fooman first command returns 63 items, second command zero.
Thanks for confirming - changed in beta5