Skip to content

Fixed --simulate=diff to report permission and ownership changes (3.24) - #6444

Open
nickanderson wants to merge 1 commit into
cfengine:3.24.xfrom
nickanderson:ENT-14694/3.24
Open

nickanderson wants to merge 1 commit into
cfengine:3.24.xfrom
nickanderson:ENT-14694/3.24

Conversation

@nickanderson

@nickanderson nickanderson commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Cherry-pick of #6436

The new test includes ../default.cf.sub, which is what default.sub.cf is called on 3.24.x.

Ticket: ENT-14694

The diff report only ran 'diff -u' on file contents, so a file whose
mode, owner or group changed without its contents was listed with
nothing under it. Permission, owner and group changes are now printed
before the content diff.

Ticket: ENT-14694
Changelog: Title
(cherry picked from commit e55f9d8)
@cf-bottom

Copy link
Copy Markdown

Thank you for submitting a PR! Maybe @craigcomstock can review this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants