Skip to content

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 :)

asfgit pushed a commit that referenced this pull request Oct 25, 2024
@FSchumacher
Copy link
Contributor Author

Has been merged into master

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