Can't unmount drive

Ricky Morse's Avatar

Ricky Morse

19 Feb, 2019 04:52 PM

Hi! My license is likely under a different email address. I don't want to publish it publicly, but I have two licenses, one for work, one for home, and this issue is with work.

I have SMB drives that I mount from the command line under a folder (/mnt/). Once I have mounted them, I don't seem to be able to unmount them without quitting Path Finder. This was not a problem under Path Finder 7, and may not always have been a problem under Path Finder 8 -- it's taken me some time to figure out that Path Finder was the problem, but the issue only started to appear in the last year or so. There was also an upgrade to 10.13 which made me get confused about causality.

Basically, if I run mount -t smbfs //some.share/here /mnt/dir, and then try to run umount /mnt/dir, I get the error "umount(/mnt/bs): Resource busy -- try 'diskutil unmount'"; if I then quit Path Finder and rerun the umount call, it works just fine.

How can I fix this?

Thanks,
Ricky

  1. Support Staff 1 Posted by Path Finder Sup... on 20 Feb, 2019 09:22 AM

    Path Finder Support Team's Avatar

    Hi Ricky, 

    Please follow the instruction and check if the issue still persists: 

    1. Make sure that Path Finder is located in the Applications folder
      (in case you are using macOS Mojave) Use System Preferences > Security & Privacy > grant Full Disk Access to Path Finder

    2. Open your terminal and paste the following command to check if Path Finder has been slapped with the quarantined extended attribute:

    xattr /Applications/"Path Finder.app"

    1. If you see com.apple.quarantine returned as output from that last command, then go ahead and run this next command:

    xattr -d com.apple.quarantine /Applications/"Path Finder.app"

    You won't get any feedback or output from that command, but that's okay because you can just run the first command again to see for yourself if the com.apple.quarantine attribute shows up again. It shouldn't, and now Path Finder is freed from Apple quarantine jail. Restart your PathFinder now. 

    Don't hesitate to contact us should any questions arise. 

    Best Regards,
    Jordan
    Path Finder Support Team 

  2. Path Finder Support Team closed this discussion on 20 Feb, 2019 09:22 AM.

  3. Ricky Morse re-opened this discussion on 20 Feb, 2019 02:03 PM

  4. 2 Posted by Ricky Morse on 20 Feb, 2019 02:03 PM

    Ricky Morse's Avatar

    Hi!

    • I'm not running Mojave
    • Path Finder was already not in quarantine
    • this did not fix the problem

    I can reproduce this as follows:

    • Path Finder is running
    • mount an SMB share via terminal ("mount //some/remote/path/here /mnt/something")
    • go to a folder on the mounted drive via Path Finder (the mounted share shows up as another device in the devices list, so it's not fooled by the fact that the share is under "/mnt" instead of "/Volumes"
    • close the tab with the share in it
    • try to unmount the share ("umount /mnt/something")

    I get the error "resource busy".

    If I then quit Path Finder, the share unmount with no problem.

  5. Support Staff 3 Posted by Path Finder Sup... on 21 Feb, 2019 10:19 AM

    Path Finder Support Team's Avatar

    Hi Ricky, 

    Thanks for reporting this issue! 

    We've already submitted it to our developers, sorry for the inconvenience. 

    Make sure to let us know should any further questions arise. 

    Best Regards, 
    Jordan
    Path Finder Support Team 

  6. Path Finder Support Team closed this discussion on 21 Feb, 2019 10:19 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac