Skip to content

ENT-10961, CFE-1840: Files promise can now modify immutable bit in file system attributes#5694

Closed
larsewi wants to merge 3 commits into
cfengine:masterfrom
larsewi:immutable
Closed

ENT-10961, CFE-1840: Files promise can now modify immutable bit in file system attributes#5694
larsewi wants to merge 3 commits into
cfengine:masterfrom
larsewi:immutable

Conversation

@larsewi

@larsewi larsewi commented Feb 6, 2025

Copy link
Copy Markdown
Contributor

Merge together with NorthernTechHQ/libntech#235

Build Status

@cf-bottom

Copy link
Copy Markdown

Thanks for submitting a pull request! Maybe @craigcomstock can review this?

@larsewi larsewi force-pushed the immutable branch 3 times, most recently from c5e1a67 to 43ef275 Compare February 18, 2025 15:17
@larsewi larsewi force-pushed the immutable branch 4 times, most recently from 3bfbc92 to a3058d3 Compare February 27, 2025 09:40
@larsewi larsewi marked this pull request as ready for review March 5, 2025 16:31

@craigcomstock craigcomstock left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good! A few nitpicks.

Comment thread tests/acceptance/10_files/14_immutable/00_immutable.cf Outdated
Comment thread tests/acceptance/10_files/14_immutable/00_immutable.cf
Comment thread libpromises/mod_files.c Outdated
@larsewi larsewi force-pushed the immutable branch 5 times, most recently from 3de1772 to e33b4d3 Compare March 6, 2025 10:39
@larsewi larsewi requested a review from craigcomstock March 6, 2025 10:42
@larsewi larsewi force-pushed the immutable branch 6 times, most recently from 2d128d0 to bbbd1f7 Compare March 7, 2025 11:20
larsewi added 2 commits March 7, 2025 13:33
Added syntax for `body fsattrs` with a boolean constraint `immutable`.
It currently does nothing, but this will change in following commits.

Ticket: ENT-10961, CFE-1840
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Ticket: ENT-10961, CFE-1840
Changelog: Title
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi larsewi force-pushed the immutable branch 2 times, most recently from 13802bc to 389becb Compare March 7, 2025 14:35
Ticket: ENT-10961, CFE-1840
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi larsewi marked this pull request as draft April 1, 2025 12:15
@larsewi

larsewi commented Apr 1, 2025

Copy link
Copy Markdown
Contributor Author

Is superseded by #5752

@larsewi larsewi closed this Apr 1, 2025
@larsewi larsewi deleted the immutable branch July 3, 2025 09:21
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.

4 participants