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

Support globs in file permission configuration #1200

Closed
TadCordle opened this issue Oct 29, 2018 · 1 comment · Fixed by #2345
Closed

Support globs in file permission configuration #1200

TadCordle opened this issue Oct 29, 2018 · 1 comment · Fixed by #2345

Comments

@TadCordle
Copy link
Contributor

TadCordle commented Oct 29, 2018

Original comment

It may be useful to set file permissions in bulk, like so:

jib.extraDirectories.permissions = ['/*.txt':'755', '/**.sh':'555']
<permissions>
  <permission>
    <file>/*.txt</file>
    <mode>755</mode>
  </permission>
  <permission>
    <file>/**.sh</file>
    <mode>555</mode>
  </permission>
</permissions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants