OpenSearch/distribution
Jason Tedor 3e485c2ca5 Fix plugin installation permissions
When installing plugin permissions, we try to set the permissions on all
installed files ourselves because a umask from the user could violate
everything needed to get the permissions right. Sadly, directories were
not handled correctly at all and so we were still left with broken
installations with umasks like 0077. This commit fixes this issue, adds
a thorough unit test for the situation, and most importantly, adds a
test that sets the umask before installing the plugin.

Relates #24527
2017-05-06 13:25:10 -04:00
..
bwc-zip Revert "Ensure output for createClone task" 2017-04-15 13:54:01 -04:00
deb Tests: Clean up rest test file handling (#21392) 2017-04-18 15:07:08 -07:00
integ-test-zip Tests: Clean up rest test file handling (#21392) 2017-04-18 15:07:08 -07:00
rpm Tests: Clean up rest test file handling (#21392) 2017-04-18 15:07:08 -07:00
src/main Try not to lose stacktraces (#24426) 2017-05-02 11:34:12 -04:00
tar Tests: Clean up rest test file handling (#21392) 2017-04-18 15:07:08 -07:00
tools Fix plugin installation permissions 2017-05-06 13:25:10 -04:00
zip Tests: Clean up rest test file handling (#21392) 2017-04-18 15:07:08 -07:00
build.gradle Fix plugin installation permissions 2017-05-06 13:25:10 -04:00