On Mon, 2021-12-13 at 16:00 +0100, Vít Ondruch wrote:
Would it be possible to document the editing of protected file in
the
change proposal, probably including example of the best way to do it
(is
it possible to replace the file by symlink?) Or is there a way to
temporary enable the editing with some overlay? Is there any other way
to restore the original file except "dnf reinstall"?
I've added this to the wiki:
https://fedoraproject.org/wiki/Changes/FsVerityRPM#Can_the_user_modify_a_...
You could restore the original file via "dnf reinstall", or by moving
it back into place (rename() and unlink() are allowed on fs-verity
enabled files).
Cheers
Davide