-
Notifications
You must be signed in to change notification settings - Fork 235
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
Set permissions on downloaded files/archives #63
Comments
It would be nice to support specifying ownership as well. |
Is there any update on this? Are we going to bring it soon? |
oops, sorry, reopening because I thought this was a packer issue! |
Ran in to this using hashi-nomad, I was expecting the result (unpacking a tar.gz from https) to have the permissions from the tar czpf. Instead, I get a version of the file that has different file permission bits set, unexpected. |
Bumped into this once again in nomad sadly. :( |
Any work going on on this? I keep feeling a need for this for downloaded binaries, for Currently I am making do with |
A workaround for permissions is to package the file in a tar or zip archive, permissions are preserved when decompressing. |
I don't think this is true, I tried this and it still decompressed it as root. Would love this to be fixed |
Please fix. Please fix. Allow a chmod/chown type abstraction and all will be well to close this issue. |
I'd like to work on this, is there a consensus on whether something like this should be supported or not? cc/ @dadgar |
Any work for this? Could this be atleast implemented for the single file download mode? ( |
Totally forgot about this issue. I think I'll take a shot at this over the weekend, hopefully, someone from the team can respond in the meantime. |
Any luck on this one? It would make nomad's exec driver a lot more useful. |
It would be nice to be able to optionally set the permissions on downloaded artifacts.
Cross linking to Nomad issue: hashicorp/nomad#2625
The text was updated successfully, but these errors were encountered: