spion / adbfs-rootless

Mount Android phones on Linux with adb. No root required.
Other
890 stars 73 forks source link

Cannot unmount: target is busy but permission denied #19

Open HaleTom opened 7 years ago

HaleTom commented 7 years ago

I have my phone mounted at /mnt/android, but it's in some weird state.

(ins)svelte ~# mount | grep /mnt/android
adbfs on /mnt/android type fuse.adbfs (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
(ins)svelte ~# umount /mnt/android
umount: /mnt/android: target is busy
        (In some cases useful info about processes that
         use the device is found by lsof(8) or fuser(1).)
(ins)svelte ~[32]# fuser -vm /mnt/android
Cannot stat /mnt/android: Permission denied
Cannot stat file /proc/20619/fd/3: Permission denied
(ins)svelte ~[1]# ls -ld ls -ld /mnt/android
ls: cannot access '/mnt/android': Permission denied
(ins)svelte ~[2]# ls -l /mnt | grep android
ls: cannot access '/mnt/android': Permission denied
d????????? ? ?    ?       ?            ? android
(ins)svelte ~# 

In bash (as the user I mounted it with), if I do: echo /mnt/andr<tab> The shell hangs permanently.