gerard / ext4fuse

EXT4 implementation for FUSE
GNU General Public License v2.0
905 stars 110 forks source link

Cannot access a mounted drive in macOS Sierra #44

Open davidenglishmusic opened 7 years ago

davidenglishmusic commented 7 years ago

System info: macOS Sierra 10.12.6 FUSE for macOS 3.7.0

I have followed the instructions for mounting a drive but cannot seem to access any files once the drive is mounted. Here are the steps I am taking:

  1. With fuse for macOS and ext4fuse installed, I boot the computer and get the following message regarding the external usb drive:
screen shot 2017-09-19 at 7 57 16 pm
  1. I click Ignore

  2. I open the terminal, navigate to the root with cd / and then add a directory to serve as the mount point using sudo mkdir linux

  3. I then run the mount command with the allow_other option: sudo ext4fuse /dev/disk2s1 /linux -o allow_other

  4. With the drive supposedly mount, I am unable to cd into the directory without using sudo and in using sudo cd /linux, it re-opens the root directory ie.

pwd # /
sudo cd /linux
pwd # /

Opening it in the finder shows a nice mounted icon but I am unable to open the mount, receiving the following message:

screen shot 2017-09-19 at 8 01 46 pm

Perhaps I am missing or have misunderstood a step?

marlencrabapple commented 7 years ago

Same exact problem on High Sierra (10.13.1). My process and setup were nearly identical

slhck commented 6 years ago

Same here:

$ sudo ext4fuse /dev/disk2s1 /Users/werner/mnt -o allow_other
$ ls -la mnt
dr-x------   8 1000    1000   4096 Nov 17 09:10 mnt
$ sudo ls mnt
… shows files

But I can't access the files without sudo or through the Finder.

If I mount without sudo, the result is the same. I also added the user to the operator group.

Klemart3D commented 6 years ago

Working (mounted and readable from Finder) for me with macOS High Sierra 10.13.3 + FUSE 3.7.1 + ext4fuse 0.1.3 with: sudo ext4fuse /dev/disk2s3 ~/Desktop/MYDISK/ -o allow_other

cc-crack commented 6 years ago

Same issue: sudo ext4fuse /dev/disk2s1 /Volumes/LINUX -o allow_other dr-x------ 3 1000 1000 4096 Mar 21 21:35 LINUX I have added the user to the operator group. macOS High Sierra 10.13.3 FUSE 3.7.1 ext4use 0.1.3

pineman commented 6 years ago

I was having the exact same issue. Running macOS High Sierra 10.13.4, osxfuse 3.7.1, ext4fuse 0.1.3. I solved it (empirically) by combining the allow_other flag with the defer_permissions flag, like this: sudo ext4fuse -o allow_other,defer_permissions /dev/diskXsY mount_point Now I can access the mount point and bypass the ext4 permissions.

FossPrime commented 4 years ago

defer_permissions fixed it for me... Should be in read me

utheryang commented 4 years ago

I was having the exact same issue. Running macOS High Sierra 10.13.4, osxfuse 3.7.1, ext4fuse 0.1.3. I solved it (empirically) by combining the allow_other flag with the defer_permissions flag, like this: sudo ext4fuse -o allow_other,defer_permissions /dev/diskXsY mount_point Now I can access the mount point and bypass the ext4 permissions.

Thanks~ I was unable to access /root folder before apending the defer_permissions flag. Now defer_permissions flag causes osxfuse to ignore permission check thus allow operations on /root folder.

austingibb commented 9 months ago

defer_permissions still doesn't fix it for me... Macbook Pro M2 Max, MacOS Sonama 14.2.1 (23C71).

I guess that's the Apple silicon life for me...

dwerner95 commented 8 months ago

Same problem for me on Macbook Pro M2 Max, MacOS Sonama 14.2.1. Did you find a solution @austingibb ?

nickz-t3 commented 5 months ago

same problem with mac m3