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

Ignore directories without read permissions #555

Merged
merged 1 commit into from
Apr 25, 2024
Merged

Conversation

andusy
Copy link
Collaborator

@andusy andusy commented Apr 24, 2024

Currently we check if we can read the metadata from the file/directory. Even if we can stat the file, it does not necessarily mean we have permissions to open the file/directory. This becomes a problem when we try to open the directory when computing the merkle tree and we don't have read permissions.

Currently we check if we can read the metadata from the file/directory. Even if we can stat the file, it does not necessarily mean we have permissions to open the file/directory. This becomes a problem when we try to open the directory when computing the merkle tree and we don't have read permissions.
@andusy andusy requested a review from mrahs April 24, 2024 16:21
@mrahs mrahs merged commit 88db5fa into master Apr 25, 2024
8 checks passed
mrahs pushed a commit to mrahs/remote-apis-sdks that referenced this pull request Apr 29, 2024
Currently we check if we can read the metadata from the file/directory. Even if we can stat the file, it does not necessarily mean we have permissions to open the file/directory. This becomes a problem when we try to open the directory when computing the merkle tree and we don't have read permissions.
@andusy andusy deleted the dirReadPermissions branch April 30, 2024 16:39
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

Successfully merging this pull request may close these issues.

2 participants