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
chdir(): Permission denied (errno 13) #9649
Comments
this error seems to happen at the time composer tries to change the current directory back to the original one (it does that when using the |
Yeah i am also not entirely sure why it does that. Maybe @derrabus still knows 😄 6f317b7 My guess is we could simply delete this.. or at least wrap it in a |
When running composer update from CLI (via Plesk's composer install) via this command:
...I get the following exception:
I installed composer from source in order to find out what working directory it was trying to change to and it was, in fact, the home directory of the admin user account I was running the CLI script from, which I suppose makes sense as the user
ben
can't see into that directory.However as everything else worked as expected and this error happens almost literally right at the end of the program, I wonder if this particular error should be downgraded to a warning?
It would also be useful if it mentioned which directory it was trying to chdir() to.
I'll create a PR if I get time, but I thought it was worth mentioning as I found nothing when Googling and it's taken me quite a while to get to this point!
The text was updated successfully, but these errors were encountered: