Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Falco, by default, creates the output folder in mode
700
only. See https://github.com/smithlabcode/falco/blob/3e4f0ad4bee3fa84280c179cc4320bf103c59262/src/falco.cpp#L635This means that using this component with docker creates files as
root
, which are not usable by the user and causes problems when publishing. There are two solutions for this:chmod g+rx,o+rx
on the output folderdocker.fixOwnership = true
. It think this option is preferred because it just changes the owner of the files, not the mode and the fix is only applied when usingdocker
.Why is this not a problem for other components? The behavior occurs when:
file
Most other components create files, for which the permissions are based on the
umask
. Theumask
is by default022
, so most of the times the files are created with permissions0644
. This includes read permissions for groups and others.Issue ticket number
Closes #xxxxChecklist before requesting a review
I have performed a self-review of my code
Conforms to the Contributing guidelines
Proposed changes are described in the CHANGELOG.md
I have tested my code with
viash ns test --parallel -q <name or namespace>
Check the correct box. Does this PR contain: