Ha correct I meant chmod. I was able to get this working. Thanks though
________________________________ From: [email protected] on behalf of Rickard von Essen <[email protected]> Sent: Tuesday, December 4, 2018 9:22 PM To: [email protected] Subject: Re: [packer] Issue copying file to AMI Rubber ducking... On Wed, Dec 5, 2018, 06:21 Rickard von Essen <[email protected]<mailto:[email protected]> wrote: Do you really intend to do "chown 777 -R /aws" maybe that was intended to be chmod? On Wed, Dec 5, 2018, 06:19 Rickard von Essen <[email protected]<mailto:[email protected]> wrote: And what's the problem you are having? On Wed, Dec 5, 2018, 00:10 Mike Craig <[email protected]<mailto:[email protected]> wrote: Hello, This seems like it should be an easy process. "provisioners": [ { "type": "file", "source": "gcpappami/sharedComp.sh", "destination": "/tmp/sharedComp.sh" }, { "type": "shell", "inline": ["sudo mkdir -p /aws", "sudo chown 777 -R /aws"] }, { "type": "file", "source": "archive.tgz", "destination": "/aws/archive.tgz" }] Here is the workspace in Jenkins showing the file exists: Any help is appreciated. [2018-12-04_15-09-25.jpg] -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/9e374247-b927-4646-9d74-d807f3919bce%40googlegroups.com<https://groups.google.com/d/msgid/packer-tool/9e374247-b927-4646-9d74-d807f3919bce%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt_DPRVpHUxrbr8R0JUfjKnjpkcEGdFpFkgYTDkO%2BeiJQg%40mail.gmail.com<https://groups.google.com/d/msgid/packer-tool/CALz9Rt_DPRVpHUxrbr8R0JUfjKnjpkcEGdFpFkgYTDkO%2BeiJQg%40mail.gmail.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/DM5SPR00MB1104C09ADE72BE5512C78C1F6A80%40DM5SPR00MB110.namprd13.prod.outlook.com. For more options, visit https://groups.google.com/d/optout.
