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

Ensure directories are writable when generating reports from read-only sources #6358

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

FSchumacher
Copy link
Contributor

Description

When copying files while generating reports, make newly created directories writeable.

Motivation and Context

As reported in #6357 some distributions of JMeter provide the template directories read-only, only. As that is probably a good idea, we should support those kind of setups.

How Has This Been Tested?

Made some directories in ./bin/report-templates read-only and generated a report. With the current released version of JMeter we will get an exception as described in #6357. With the fix, the report is generated without problems.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.

@vlsi
Copy link
Collaborator

vlsi commented Oct 4, 2024

Could we make the folders read-only in CI?

@FSchumacher
Copy link
Contributor Author

Could we make the folders read-only in CI?

I added a test case, but I am sure, that you could make that a bit nicer than me :)

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

Successfully merging this pull request may close these issues.

2 participants