Skip to content
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

Plugin fails when files owned by another user #23

Open
zaporylie opened this issue Oct 10, 2017 · 0 comments
Open

Plugin fails when files owned by another user #23

zaporylie opened this issue Oct 10, 2017 · 0 comments

Comments

@zaporylie
Copy link

chmod() returns error if files are owned by another user than one triggering composer command. That makes all file disappear (moved to composer cache folder) and never restored.

Maybe we should test if we can perform chmod() operation and fail early with information what have happened.

Ref.

chmod($path, static::FILEPERM);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant