mount/umount command was hard-coded
It seems the mount/umount command path was hard-coded instead of following the value of $PATH environment variable
To reproduce the problem
-
Add a custom path on $PATH variable
export PATH=/custom-path/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
-
Make a symlink
ln -s /bin/busybox /custom-path/bin/mount
-
Rename /bin/mount to /bin/mount.old
-
Try to mount a device on a gvfs-based file manager (such as thunar, nautilus, pcmanfm, etc.)
Edited by Rizal Martin