mpartel / bindfs

Mount a directory elsewhere with changed permissions.
https://bindfs.org/
GNU General Public License v2.0
443 stars 64 forks source link

Mount local volume using bindfs and map it to a folder within a “Package” #71

Open diyoyo opened 5 years ago

diyoyo commented 5 years ago

I know how to mount a volume that is mapped to a local folder on my Mac, using bindfs. Yet, when specify a folder that is within a "Package" (accessed by clicking on "Show Package contents"), then bindfs does not work with the error "Could not open source directory". Is there a workaround?

mpartel commented 5 years ago

Seems to work for me (latest OS X, osxfuse and bindfs):

$ mkdir bla
$ bindfs /Applications/Calculator.app/Contents bla
$ ls bla
Info.plist      MacOS           PkgInfo         PlugIns         Resources       _CodeSignature  version.plist

It also works the other way around, mounting bla over Contents.

Which flags are you using? Does it work without any flags? Does it work with/without sudo?