Mounting and unmounting drives in Raspbian

Mount drive for the pi user

  • sudo mount -t vfat /dev/sdb1 /mnt/usb32 -o uid=pi,gid=pi

Force unmount

  • sudo umount -l /mnt/usb32

Also, make sure that /mnt/usb32 is owned by the user you want be able to make modifications in it.

Source: