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

Do not follow links when doing "chown" #3156

Merged
merged 1 commit into from Sep 12, 2023
Merged

Conversation

rhc54
Copy link
Contributor

@rhc54 rhc54 commented Sep 12, 2023

There is a potential issue with allowing a "chown" operation to follow user-created links, so let's limit any use of that function to "lchown" - which directs the "chown" operation to NOT follow a link.

Signed-off-by: Ralph Castain rhc@pmix.org
(cherry picked from commit ae62cdf) (cherry picked from commit da03693)

There is a potential issue with allowing a "chown" operation
to follow user-created links, so let's limit any use of that
function to "lchown" - which directs the "chown" operation to
NOT follow a link.

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit ae62cdf)
(cherry picked from commit da03693)
@rhc54 rhc54 merged commit bdb7136 into openpmix:v3.2 Sep 12, 2023
1 of 2 checks passed
@rhc54 rhc54 deleted the cmr32/chown branch September 12, 2023 18:15
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.

None yet

1 participant