VFSForGit: Mac: Ensure that the kext blocks file I\O that that is not allowed when VFSForGit is unmounted
We used to have this on Mac, but it had to be removed in #191 as it was preventing:
- VFS4G from modifying the .git/hooks a as part of mounting
gvfs repair
from being able to fix up files in the .git folder
As the feature is re-enabled we’ll need to consider how we can still support the scenarios above. Perhaps we can support a new xattr that VFS4G sets on folders letting the kext know that offline modifications are allowed? Or maybe there is some way that we can ACL/mark the VFS4G processes so that the kext knows that they should be allowed to make offline modifications?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (17 by maintainers)
Commits related to this issue
- Merge pull request #1208 from pmj/mac-kext-182-no-writes-on-offline-roots Mac ProjFS: Deny I/O on offline roots, with exceptions, part 1 This is the first stage of implementing #182 - the kext now... — committed to microsoft/VFSForGit by pmj 5 years ago
- Merge pull request #1429 from pmj/mac-kext-182-block-offline-empty-file-access Mac ProjFS kext: Deny I/O on offline roots, with exceptions, part 2 This is a continuation of the work on issue #182.... — committed to microsoft/VFSForGit by pmj 5 years ago
@pmj thanks!
I think we can close this out.
Regarding this item:
I think we can stick with the current behavior and adjust it later if we get feedback that the current behavior is undesirable.
I’ve updated the description of #457 to include this work.