I have a USB external hard drive I would like to mount as a non-root user, but I seem to be having some problems. As is outlined in the FreeBSD FAQ, in /etc/sysctl.conf I have added
and in /etc/devfs.conf I have added
However, when I try to mount it as a normal user by doing
I get the error
If I try mounting da0 as root, it mounts perfectly fine. What do I need to change to be able to mount this drive as a non-root user?
Code:
vfs.usermount=1
Code:
own /dev/da0 root:operator
perm /dev/da0 0666
mount -t ntfs /dev/da0 ~/mnt
I get the error
Code:
mount_ntfs: /dev/da0: No such file or directory