Open ruzickap opened 3 years ago
Thanks for reaching out. We’ll take a look when we get a chance.
I'm having the same issue on a Linux host (NixOS). Anything I can do to help debug this?
Packer version: 1.7.8
Did some investigation. The error arrives here: https://github.com/hashicorp/packer-plugin-sdk/blob/f98795fcc30b7de77ce79bef3997699291e7bc20/multistep/commonsteps/step_create_cdrom.go#L293-L297
The issue seem to be related to the Mode argument passed to os.MkdirAll
. If I chmod 777 -R test
before running packer, then I get no error.
Overview of the Issue
When using packer with
cd_files
I can not use files/directories which are read only. That is usually the case when working with "CD".Reproduction Steps
Packer version
Simplified Packer Buildfile
See reproduction steps above.
Operating system and Environment details
MacOS Catalina
Log Fragments and crash.log files
See reproduction steps above - contains error logs