-
Notifications
You must be signed in to change notification settings - Fork 69
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
Unix file permissions in zip files #24
Comments
Hi Telling, Thanks for bringing this to our attention, and nice work finding a workaround ;) I suspect the file permissions are being lost when we call IOUtils.copy You mentioned that it was previously working, however looking at the commit history I don't see any obvious changes to this code. Is it possible you were previously using the CodeDeploy plugin rather than the CodePipeline one? https://github.com/awslabs/aws-codedeploy-plugin Unfortunately I don't have an ETA on when we can address this issue, but your details definitely help. |
Hi belltimo, Thanks for getting back to me, was beginning to get nervous :) Yes, I was using the codedeploy plugin back when it used to work. The code to create the zip I've pasted is similar to that of the codedeploy plugin. As I'm currently running my own version with the java code above, I can wait. But please do address this, its a fairly terrible bug and I'm not the only one who's been hit by it: #21 (I do believe the plugin now has tar support though not sure if permissions are kept in those) |
+1 I have the same problem with this. |
In the process of moving a codepipeline from US to EU, I noticed an issue with the zip artifact created by the codepipeline plugin; it has no unix file permissions. Having used the codedeploy plugin in the past, I knew the artifacts it created did have unix file permissions.
I hacked together a version of the codepipeline plugin that uses the same method of creating the zip file as the codedeploy plugin, basically I've rewritten
compressZipFile
to no longer usecompressArchive
:Been years since I last wrote any java, so this is probably not the best solution - but it will allow me to get on with the task at hand.
The text was updated successfully, but these errors were encountered: