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

Remove filesystem checks #56

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

ionut-arm
Copy link
Member

This commit removes the filesystem checks for correct permissions on
Parsec "assets". The checks can now be removed because the new locations
in the filesystem mean that only a privileged user can create the files.

Fixes #51

This commit removes the filesystem checks for correct permissions on
Parsec "assets". The checks can now be removed because the new locations
in the filesystem mean that only a privileged user can create the files.

Signed-off-by: Ionut Mihalcea <ionut.mihalcea@arm.com>
@ionut-arm ionut-arm added the enhancement New feature or request label Oct 14, 2020
@ionut-arm ionut-arm requested a review from hug-dev October 14, 2020 12:32
@ionut-arm ionut-arm self-assigned this Oct 14, 2020
Comment on lines -66 to -84
if let ClientErrorKind::InvalidServiceResponseType = other {
true
} else {
false
}
}
ClientErrorKind::InvalidProvider => {
if let ClientErrorKind::InvalidProvider = other {
true
} else {
false
}
}
ClientErrorKind::NoProvider => {
if let ClientErrorKind::NoProvider = other {
true
} else {
false
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clippy started complaining about this in the new version

Copy link
Member

@hug-dev hug-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels good 🧹

@ionut-arm ionut-arm merged commit df4a058 into parallaxsecond:master Oct 15, 2020
@ionut-arm ionut-arm deleted the remove-fs-check branch October 15, 2020 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Socket path security checks can fail when the client is in a container
2 participants