Skip to content

Use non-privileged user home when executing QA command #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

weierophinney
Copy link
Member

Adds the --set-home flag to the sudo invocation that calls the actual QA command, ensuring that anything that resolves to $HOME resolves to the non-privileged user's home directory.

Fixes #9

Adds the `--set-home` flag to the `sudo` invocation that calls the actual QA command, ensuring that anything that resolves to `$HOME` resolves to the non-privileged user's home directory.

Fixes laminas#9

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
@weierophinney weierophinney added this to the 1.4.0 milestone Apr 1, 2021
@weierophinney weierophinney added the Bug Something isn't working label Apr 1, 2021
@weierophinney weierophinney merged commit bfdf589 into laminas:1.4.x Apr 1, 2021
@weierophinney weierophinney deleted the hotfix/9-psalm-cache-permissions branch April 1, 2021 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PSalm: Could not create cache directory
1 participant