Re: fusefs-jmtpfs-g20190420 cannot mount smartphone after FreeBSD 13

From: Tomek CEDRO <tomek_at_cedro.info>
Date: Wed, 21 Jun 2023 17:47:47 UTC
On Wed, Jun 21, 2023 at 7:13 PM Jin Guojun[VFF] wrote:
> Thanks for help and LIBUSB_DEBUG=0 makes cli quiet.
>
> One slight issue is that the android-file-transfer has to be run as root.

That is up to USB file permissions in /dev.. you can set this up with
devfs, example below :-)

Add your user to operator group:

# pw groumod operator -m your_username

Add this to /etc/devfs.rules:

[system=10]
add path 'usb/*' mode 0660 group operator

Then add this to /etc/rc.conf:

devfs_system_ruleset="localrules"
devfs_enable="YES"

:-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info