alperakcan / fuse-ext2

Fuse-ext2 is a multi OS FUSE module to mount ext2, ext3 and ext4 file system devices and/or images with read write support.
GNU General Public License v2.0
799 stars 127 forks source link

brew installation fails on macos #114

Closed cmoulliard closed 3 years ago

cmoulliard commented 3 years ago

Issue

brew installation fails on macos

brew install --cask osxfuse
==> Caveats
osxfuse requires a kernel extension to work.
If the installation fails, retry after you enable it in:
  System Preferences → Security & Privacy → General

For more information, refer to vendor documentation or this Apple Technical Note:
  https://developer.apple.com/library/content/technotes/tn2459/_index.html

You must reboot for the installation of osxfuse to take effect.

==> Downloading https://github.com/osxfuse/osxfuse/releases/download/osxfuse-3.11.2/osxfuse-3.11.2.dmg
Already downloaded: /Users/cmoullia/Library/Caches/Homebrew/downloads/c3e68242cf1794b67a6b47745d4918712d81fef66294a99ebb93dc453e77421f--osxfuse-3.11.2.dmg
==> Installing Cask osxfuse
==> Running installer for osxfuse; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
installer: Package name is FUSE for macOS
installer: Upgrading at base path /
installer: The upgrade was successful.
==> Changing ownership of paths required by osxfuse; your password may be necessary
chown: /usr/local/lib/sentinel.dylib: Operation not permitted
==> Purging files for version 3.11.2 of Cask osxfuse
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/sbin/chown -R -- cmoullia:staff /usr/local/include /usr/local/lib` exited with 1. Here's the output:
chown: /usr/local/lib/sentinel.dylib: Operation not permitted

Remark: No root pwd is requested during the installation and brew dont support anymore t be executed as sudo brew

cmoulliard commented 3 years ago

This problem is not due to a bug of your formula

kharthigeyan commented 3 years ago

What is the fix here?.