Upgrading attributes should not set buffer-modified
Bug #932602 reported by
Uday Reddy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VM |
Fix Committed
|
Medium
|
Uday Reddy |
Bug Description
Julian Bradfield writes (viewmail-info, 2012-02-14):
If I visit a folder read-only, I don't expect it to be changed and
written back to disk. However, this happens:
(a) If I visit a folder created by my MTA, VM says "upgrading
attributes", and then the folder is modified, and VM writes it
back to disk when I quit. This of course causes corruption if the
MTA is writing new mail at the same time, since they use different
locking mechanisms.
Related branches
Changed in vm: | |
milestone: | 8.2.89a → 8.2.0b1 |
no longer affects: | vm/8.2.x |
Changed in vm: | |
milestone: | 8.2.1a → 8.2.0 |
Changed in vm: | |
milestone: | 8.2.1a → 8.2.90a |
To post a comment you must log in.
We can discuss assigning a strong semantics to read-only, but I suspect that
it may be difficult to implement. "Upgrading attributes", for example,
needs to be done when an old folder is read because the new code base will
only work with the upgraded version of data. We can perhaps refrain from
writing the folder back to the disk at the end if the read-only flag is set.