sgan81 / apfs-fuse

FUSE driver for APFS (Apple File System)
GNU General Public License v2.0
1.79k stars 164 forks source link

command not found #188

Open Helge543 opened 11 months ago

erzakiev commented 8 months ago

If I don't sudo it's throwing the Permission denied error

$ apfs-fuse /dev/sdb2 /media/
Opening device /dev/sdb2 failed with error Permission denied
Error opening device!

If I sudo, then it throws sudo: apfs-fuse: command not found. I sudo su and repeating the installation process as a superuser but it still doesn't put any executables in the path... Am i missing something?

UPD: the ccmake was missing on the system (and i didn't notice the error message) and it halted the makeing downstream in the chain of commands. But even when maked it DID produce the executables, but it didn't symlinked it into the PATH. But when navigating to the directory of the driver where the building just happened the executables are actually there and they are working if you use ./apfs-fuse.

Thanks for the great tool!!

erzakiev commented 8 months ago

So... I should not have run any apt installations as a root (probably the gcc and g++ broke everything), after restarting it turns out I borked my Ubuntu partition. Rookie mistake... I will have to reinstall the ubuntu partition now oops

WL8on commented 4 months ago

@erzakiev If you accidentally run installs as root in the future, you can change the directories and files ownership via the chown command. from the directory below the one you need to adjust run: chown -R erzakiev:erzakiev ./