In some situations, with large numbers of existing files in an Ignition data volume, the existing per-file chown mechanism could fail due to a violation of bash MAX_ARGS count.
⚙️ Summary
This PR adds a simple batching of the chown calls with a size of 500 per invocation. Changes applied to both 7.9 and 8.1 docker entry point scripts.
📖 Background
In some situations, with large numbers of existing files in an Ignition data volume, the existing per-file
chown
mechanism could fail due to a violation of bash MAX_ARGS count.⚙️ Summary
This PR adds a simple batching of the chown calls with a size of 500 per invocation. Changes applied to both 7.9 and 8.1 docker entry point scripts.