Hello, everyone!
For quite a while now, I've had a problem mounting a USB exFAT partition via sysutils/dsbmd as a normal user.
Whenever I type in
When I take a look at the log file, located at /var/log/dsbmd.log, I see the following:
If it is needed to help solve the problem, here is the content of /usr/local/etc/dsbmd.conf:
I've added myself to the following groups:
Output from
And finally,
I CAN of course work around the problem by mounting as root and then change permission, but the point of using dsbmd is to be able to mount external file systems via dsbmd in a nice and simple way as a regular user.
If anyone can help, it would be much appreciated.
For quite a while now, I've had a problem mounting a USB exFAT partition via sysutils/dsbmd as a normal user.
Whenever I type in
dsbmc-cli -m /dev/da1p3
, exectution of dsbmc-cli simply freezes, and while pressing ctrl+c gets me back to the shell, the mount process is still running.When I take a look at the log file, located at /var/log/dsbmd.log, I see the following:
Code:
dsbmd: Client with UID 1001 connected on Fri Dec 20 20:38:03 2019
FUSE exfat 1.3.0
fuse: unknown option `user=a-bol'
If it is needed to help solve the problem, here is the content of /usr/local/etc/dsbmd.conf:
Code:
ntfs_mount_cmd = "/usr/local/bin/ntfs-3g -o \"uid=${DSBMD_UID},gid=${DSBMD_GID}\" ${DSBMD_DEVICE} \"${DSBMD_MNTPT}\""
mtpfs_mount_cmd = "/usr/local/bin/simple-mtpfs -o \"uid=${DSBMD_UID},gid=${DSBMD_GID},allow_other\" ${DSBMD_DEVICE} \"${DSBMD_MNTPT}\""
ptpfs_mount_cmd = "/usr/local/bin/gphotofs --port=${DSBMD_GPHOTO_USB_PORT} -o allow_other \"${DSBMD_MNTPT}\""
exfat_mount_cmd = "/usr/local/sbin/mount.exfat -o \"uid=${DSBMD_UID},gid=${DSBMD_GID}\" ${DSBMD_DEVICE} \"${DSBMD_MNTPT}\""
hfsp_mount_cmd = "/usr/local/bin/hfsfuse -o \"uid=${DSBMD_UID},gid=${DSBMD_GID}\" ${DSBMD_DEVICE} \"${DSBMD_MNTPT}\""
xfs_mount_cmd = "/sbin/mount_fusefs auto \"${DSBMD_MNTPT}\" lklfuse -o \"uid=${DSBMD_UID},gid=${DSBMD_GID},type=xfs\" ${DSBMD_DEVICE} \"${DSBMD_MNTPT}\""
btrfs_mount_cmd = "/sbin/mount_fusefs auto \"${DSBMD_MNTPT}\" lklfuse -o \"uid=${DSBMD_UID},gid=${DSBMD_GID},type=btrfs\" ${DSBMD_DEVICE} \"${DSBMD_MNTPT}\""
# Commands for user mode mounting.
ntfs_mount_cmd_usr = "/sbin/mount_fusefs auto \"${DSBMD_MNTPT}\" ntfs-3g ${DSBMD_DEVICE} \"${DSBMD_MNTPT}\""
mtpfs_mount_cmd_usr = "/usr/local/bin/simple-mtpfs ${DSBMD_DEVICE} \"${DSBMD_MNTPT}\""
ptpfs_mount_cmd_usr = "/usr/local/bin/gphotofs --port=${DSBMD_GPHOTO_USB_PORT} \"${DSBMD_MNTPT}\""
exfat_mount_cmd_usr = "/sbin/mount_fusefs auto \"${DSBMD_MNTPT}\" mount.exfat-fuse ${DSBMD_DEVICE} \"${DSBMD_MNTPT}\""
ext4_mount_cmd_usr = "/sbin/mount_fusefs auto \"${DSBMD_MNTPT}\" fuse-ext2 -o 'rw+' ${DSBMD_DEVICE} \"${DSBMD_MNTPT}\""
hfsp_mount_cmd_usr = "/sbin/mount_fusefs auto \"${DSBMD_MNTPT}\" hfsfuse ${DSBMD_DEVICE} \"${DSBMD_MNTPT}\""
xfs_mount_cmd_usr = "/sbin/mount_fusefs auto \"${DSBMD_MNTPT}\" lklfuse -o type=xfs ${DSBMD_DEVICE} \"${DSBMD_MNTPT}\""
btrfs_mount_cmd_usr = "/sbin/mount_fusefs auto \"${DSBMD_MNTPT}\" lklfuse -o type=btrfs ${DSBMD_DEVICE} \"${DSBMD_MNTPT}\""
# allow_users - Comma separated list of users who are allowed to connect.
# allow_users = jondoe, janedoe
allow_users = a-bol
# allow_groups - Comma separated list of groups whose members are allowed
# to connect.
allow_groups = operator, wheel
I've added myself to the following groups:
Code:
a-bol wheel operator vboxusers
Output from
sysctl -a | grep usermount
:
Code:
vfs.usermount=1
And finally,
uname -a
:
Code:
FreeBSD freebsd-hp.local 12.1-RELEASE-p1 FreeBSD 12.1-RELEASE-p1 GENERIC amd64
I CAN of course work around the problem by mounting as root and then change permission, but the point of using dsbmd is to be able to mount external file systems via dsbmd in a nice and simple way as a regular user.
If anyone can help, it would be much appreciated.