This commit is contained in:
Joey Hess 2022-02-24 13:10:40 -04:00
parent 972f41efb7
commit 4144f73c18
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 15 additions and 1 deletions

View file

@ -9,6 +9,11 @@ hook or no freeze hook), it still checks if the file's write permissions
got removed.
I think that, in order to support filesystems where chmod -w has no effect,
init should skip looking at perms when there is a freeze hook. It can
init should skip looking at write perms when there is a freeze hook. It can
still check that freezing prevents writing to a file.
Hmm, init uses checkContentWritePerm to see if the write permission is
removed. That is also used by fsck, and when ingesting a file. So even if
it were fixed in init, those would still be problems. This really needs to
be fixed in checkContentWritePerm.
"""]]

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="joey"
subject="""comment 4"""
date="2022-02-24T17:07:19Z"
content="""
I think that this issue with drop freezing the content needs to be treated
as a separate bug. There also may be a good reason for it to do it, I have
not looked into that yet.
"""]]