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

[3006.x] Preserve target permissions when setting link ownership #66401

Merged
merged 3 commits into from
Apr 20, 2024

Conversation

dwoz
Copy link
Contributor

@dwoz dwoz commented Apr 18, 2024

Set ownerhip on symlinks without running chown. Running chown on a link will set the permissions on a target because link perms are meaningless.

What does this PR do?

What issues does this PR fix or reference?

Fixes #66400

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

dwoz added 2 commits April 18, 2024 14:35
Set ownerhip on symlinks without running chown. Running chown on a link
will set the permissions on a target because link perms are
meaningless.
@dwoz dwoz requested a review from a team as a code owner April 18, 2024 21:39
@dwoz dwoz requested review from Akm0d and removed request for a team April 18, 2024 21:39
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title Preserve target permissions when setting link ownership [3006.x] Preserve target permissions when setting link ownership Apr 18, 2024
@dwoz dwoz merged commit 7aaf13b into saltstack:3006.x Apr 20, 2024
181 checks passed
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