Skip to content
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

Handling of files lacking a read permission #14

Open
peterwaller-arm opened this issue Oct 29, 2021 · 0 comments
Open

Handling of files lacking a read permission #14

peterwaller-arm opened this issue Oct 29, 2021 · 0 comments

Comments

@peterwaller-arm
Copy link
Contributor

It's quite easy to encounter files which don't have read permission. These are usually test cases. Unfortunately when elfshaker tries to store them, it explodes.

Handily, these files usually also have zero length, so it's not necessary to actually tweak their mode to store their contents (though maybe we might consider doing that?).

If #13 were solved, we could represent these files and reproduce them straightforwardly, I think, at least in the zero-sized case.

peterwaller-arm added a commit that referenced this issue Jan 28, 2023
These files appear for example in clang's test suite, for testing the
behaviour of tooling when it tries to read files it lacks the permission
for. So this is a step towards being able to store more directories
without manual intervention.

Closes #14.
peterwaller-arm added a commit that referenced this issue Jan 28, 2023
These files appear for example in clang's test suite, for testing the
behaviour of tooling when it tries to read files it lacks the permission
for. So this is a step towards being able to store more directories
without manual intervention.

Closes #14.
peterwaller-arm added a commit that referenced this issue Jan 28, 2023
These files appear for example in clang's test suite, for testing the
behaviour of tooling when it tries to read files it lacks the permission
for. So this is a step towards being able to store more directories
without manual intervention.

Closes #14.
peterwaller-arm added a commit that referenced this issue Jan 28, 2023
These files appear for example in clang's test suite, for testing the
behaviour of tooling when it tries to read files it lacks the permission
for. So this is a step towards being able to store more directories
without manual intervention.

Closes #14.
peterwaller-arm added a commit that referenced this issue Jan 28, 2023
These files appear for example in clang's test suite, for testing the
behaviour of tooling when it tries to read files it lacks the permission
for. So this is a step towards being able to store more directories
without manual intervention.

Closes #14.
peterwaller-arm added a commit that referenced this issue Jan 28, 2023
These files appear for example in clang's test suite, for testing the
behaviour of tooling when it tries to read files it lacks the permission
for. So this is a step towards being able to store more directories
without manual intervention.

Closes #14.
peterwaller-arm added a commit that referenced this issue Jan 28, 2023
These files appear for example in clang's test suite, for testing the
behaviour of tooling when it tries to read files it lacks the permission
for. So this is a step towards being able to store more directories
without manual intervention.

Closes #14.
peterwaller-arm added a commit that referenced this issue Jan 28, 2023
These files appear for example in clang's test suite, for testing the
behaviour of tooling when it tries to read files it lacks the permission
for. So this is a step towards being able to store more directories
without manual intervention.

Closes #14.
peterwaller-arm added a commit that referenced this issue Aug 8, 2023
These files appear for example in clang's test suite, for testing the
behaviour of tooling when it tries to read files it lacks the permission
for. So this is a step towards being able to store more directories
without manual intervention.

Closes #14.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant