I have an interesting issue I can't seem to figure out. I am trying to set up USB automounting in FreeBSD 10.3 and while I can attach a USB flash or hard drive and have it mount in
I followed the instructions from Chapter 17 in the Handbook to the letter. When I plug in the USB disk, I can see that it's automatically mounted (by traversing to that directory) and that the owner is
If I go in and manually change the permissions by issuing the command
Per the Handbook, I added these lines to my /etc/devfs.rules
/etc/rc.conf
Note: while it does indicate
I've got to be missing something in a configuration somewhere, but I am at a loss. Just to recap, the filesystem mounts, I just have no permissions. There are several threads here somewhat related, but none fixed my issue. If anyone can point me in the right direction, I would greatly appreciate it.
/media
, I have no write permissions, only read.I followed the instructions from Chapter 17 in the Handbook to the letter. When I plug in the USB disk, I can see that it's automatically mounted (by traversing to that directory) and that the owner is
root
and the group is wheel
. When I am logged in with my user account (also a member of wheel). Here's the output from ls -la
:
Code:
# ls -la
total 13
drwxr-xr-x 3 root wheel 512 Apr 13 16:18 .
drwxr-xr-x 19 root wheel 26 Apr 13 12:18 ..
drw-r-xr-x 27 root wheel 2560 Apr 13 17:00 da0s1
If I go in and manually change the permissions by issuing the command
chmod 666 /media/da0s1
, it then has all the correct permissions and I can read/write to my hearts content; until I reboot, or unmount/remount the drive.Per the Handbook, I added these lines to my /etc/devfs.rules
Code:
[localrules=10]
add path 'da*' mode 0670 group operator
/etc/rc.conf
Code:
# Enable custom rules to allow users to mount devices after boot
devfs_system_ruleset="localrules"
Note: while it does indicate
operator
as the group, my account is a member of the operator
group. I also tried changing it to wheel
with no change in results.I've got to be missing something in a configuration somewhere, but I am at a loss. Just to recap, the filesystem mounts, I just have no permissions. There are several threads here somewhat related, but none fixed my issue. If anyone can point me in the right direction, I would greatly appreciate it.