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 manager should verify that it can write to all directories #12749

Closed
clintongormley opened this issue Aug 9, 2015 · 1 comment
Closed
Assignees
Labels

Comments

@clintongormley
Copy link
Contributor

The plugin manager needs to validate it can write to the appropriate directories before it starts. Pretty sure today (1.x at least) it will half install a plugin when it can't write to certain directions

@spinscale
Copy link
Contributor

checked the code. There are no write permissions checks for bin/$PLUGIN/ and config/$PLUGIN/ - also you are right, we copy the plugin into the plugins directory and then try for bin and config directory, hoping all is fine...

@spinscale spinscale self-assigned this Aug 12, 2015
@nik9000 nik9000 removed the help wanted adoptme label Oct 7, 2015
spinscale added a commit to spinscale/elasticsearch that referenced this issue Oct 8, 2015
If the plugin manager cannot successfully install a plugin, ensure
that every directory is cleaned up again. This includes

plugins/foo
config/foo
bin/foo

Closes elastic#12749
spinscale added a commit that referenced this issue Oct 8, 2015
If the plugin manager cannot successfully install a plugin, ensure
that every directory is cleaned up again. This includes

plugins/foo
config/foo
bin/foo

Closes #12749
spinscale added a commit that referenced this issue Oct 8, 2015
If the plugin manager cannot successfully install a plugin, ensure
that every directory is cleaned up again. This includes

plugins/foo
config/foo
bin/foo

Closes #12749
spinscale added a commit that referenced this issue Oct 8, 2015
If the plugin manager cannot successfully install a plugin, ensure
that every directory is cleaned up again. This includes

plugins/foo
config/foo
bin/foo

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

No branches or pull requests

3 participants