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

Add check about permissions folder for tmp/service_logs #1341

Open
mrodm opened this issue Jul 4, 2023 · 1 comment
Open

Add check about permissions folder for tmp/service_logs #1341

mrodm opened this issue Jul 4, 2023 · 1 comment

Comments

@mrodm
Copy link
Contributor

mrodm commented Jul 4, 2023

There has been some times, that the folder .elastic-package/tmp/service_logs is owned by a different user and tests could not write the required files in that folder.

That folder is used in tests through the placeholder SERVICE_LOGS_DIR.

It would be helpful to add a check to detect the permisisons and ownership of this folder. If that folder cannot be changed to the desired permissions, probably elastic-package should fail with an error about it.

@jsoriano
Copy link
Member

#1852 looks like a good solution to this problem.

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

2 participants