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

Most upvoted comments

@pmj thanks!

I think we can close this out.

Regarding this item:

Delete operations that are for renames (i.e. moving a file out of the offline repo)

I think we can stick with the current behavior and adjust it later if we get feedback that the current behavior is undesirable.

I’d agree, let’s cover that as part of #457.

I’ve updated the description of #457 to include this work.