--ignore-permissions flag to `docker build` now ignores files that cannot be accessed.

Adds an `--ignore-permissions` flag to `docker build` to ignore permissions errors while creating the context to upload.

Resolves #6521.
Just checked; expected functionality.