Hello All,
Quick question regarding permissions on a USB Flash Drive...
When I plug in my USB flash drive as a normal user in the operator group, I get the following permissions for all partitions in /dev/da0
Which is basically rw for owner and read-only for group. In order to mount and write to my flash drive I have to change permissions to
I have the following in my /etc/devfs.rules and /etc/rc.conf. Shouldn't this automatically change permissions to "660" when I plug my flash drive, without having to do a "chmod"? Or am I understanding this incorrectly?
Thanks much!
Quick question regarding permissions on a USB Flash Drive...
When I plug in my USB flash drive as a normal user in the operator group, I get the following permissions for all partitions in /dev/da0
Code:
crw-r----- 1 root operator 0x7b Jan 26 16:39 da0
crw-r----- 1 root operator 0x7c Jan 26 16:39 da0s1
chmod 660 /dev/da0*
. Things work fine after this.I have the following in my /etc/devfs.rules and /etc/rc.conf. Shouldn't this automatically change permissions to "660" when I plug my flash drive, without having to do a "chmod"? Or am I understanding this incorrectly?
Thanks much!
Code:
/etc/devfs.rules:
[localrules=5]
add path 'da*' mode 0660 group operator
Code:
/etc/rc.conf:
devfs_system_ruleset="localrules"
Last edited by a moderator: