-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No more auto probe/mount on macOS Sierra (10.12), requires sudo? #44
Comments
Is fuse-ext2 working for you in 10.12.1?. I compiled the package, but it does not work for me even with sudo... |
Yes. I'm using it to read ext4 partitions on a GPT volume. |
I have double boot on my macbook pro, and I cannot make it work. It stopped since September 24. I don't understand why. Thanks for replying. |
I am currently experiencing the same thing. I really would like to have the WM manage the external drives, instead of having to issue Another note is that, if I do |
@surak
By default, fuse-ext2 installs this command in /usr/local/sbin, however, according to my experience with
Yes I think so. I checked #34 and tried the fork from @gpz500 (later on I found his work has been already merged to this repo), but with no luck. I did some investigation, and found the issue seems to be some mis-communication between diskarbitrationd and fuse-ext2. From diskarbitrationd log, I can see that it tries to "probe" the ext4 drive but the probe program (should be For now, I created a shell script for manually probing and mounting Linux drives using diskutil, e2label and fuse-ext2.util |
Hello everyone! |
I spend some time trying to understand where it goes wrong and based on the very limited knowledge I have about how fuse and diskarbitrationd works, it seems that the fuse-exst2.wait never returned successfully, which, according to the logging message, might be due to the fact that it doesn't see the CFNotification posted from libfuse. |
Took me 4 days of trial and error and reading through apple source code, but I have the solution to this problem. file system plugins must be code signed to work. move all the scripts into Contents/Resources and run everything from there. the entire bundle should be owned/grouped by root/wheel. the "command" values in the bundle for the executable keys must be the exact name of the script/binary file in Contents/Resources....it cannot be a posix path. |
FYI. the probe "command" key is processed in DAFileSystemProbe() in DAFileSystem.c. you can see in that function that the command path is obtained through a call to ___CFBundleCopyResourceURLInDirectory(). Therefore, trying to give the system a path name to run will not work. |
On macOS Sierra (10.12), using the most recent OSXFuse stable release (3.5.2), with
fuse-ext2
compiled from source (up to currentHEAD
at 400dfac), there is a behavior change which I believe is a bug.Desired behavior: External
ext4
filesystems are probed and available in macOS "Finder" app without explicit privilege-escalation usingsudo
. After plugging in the external USB drive, it should be available in Finder and can be mounted/umounted by the user. This is the old behavior on Mac OS X 'El Capitan' and earlier.Current behavior: the FSes can no longer be probed without
sudo
rights. After plugging in the drive, nothing happens. The commandfuse-ext2.probe /dev/xxx
returns with exit code 252, but usingsudo
, it exits successfully. Similarly, the commandfuse-ext2 /dev/xxx path/to/mountpoint
fails with 252, but succeeds only undersudo
. The mounted FS must be umounted withsudo
, too.Although use is still possible, I wonder if this is a limitation due to the increasingly draconian restrictions in place since macOS 10.12. Is there a workaround to restore the old behavior? Or is there something that needs to be fixed in the
fuse-ext2
code?The text was updated successfully, but these errors were encountered: