hugochinchilla/stumpgrinder

This package is abandoned and no longer maintained. The author suggests using the hugochinchilla/botanist package instead.

Remove all the roots from your vendor dir

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:composer-plugin

v0.1 2023-09-28 18:22 UTC

This package is auto-updated.

Last update: 2023-09-29 13:51:42 UTC


README

stumpgrinder

Run test suite

banner

Add this plugin to your composer.json to prevent composer from creating files owned by root while running on docker.

Run composer require hugochinchilla/stumpgrinder and you will never have to fix a composer permission error again.

How does it work?

It sets a hook to run after commands that may write the vendor/ dir or update the composer.lock file. The hook will check the parent dir owner/group and will set the same ownership to the files.

It can only perform this action if composer is run as root, so if you don't install it as root you will not see the ownership changed until you execute any install/update as root.