Changing permissions of /dev/xpt0

I am trying to get K3B and abcde working. By editing /dev/devfs.conf I can change the required permissions for /dev/cd0 and /dev/pass2. However /dev/xpt0 does not get changed to 660 for some strange reason. See my /dev/devfs.conf below.

Code:
# Commonly used by many ports
link    cd0    cdrom
link    cd0    dvd

# Allow a user in the wheel group to query the smb0 device
#perm    smb0    0660

# Allow members of group operator to cat things to the speaker
#own    speaker    root:operator
#perm    speaker    0660

own    /dev/cd0    root:operator
perm    /dev/cd0    0660

own    /dev/pass0    root:operator
perm    /dev/pass0    0660

own    /dev/pass1    root:operator
perm    /dev/pass1    0660

own    /dev/pass2    root:operator
perm    /dev/pass2    0660

own    /dev/xpt0    root:operator
perm    /dev/xpt0    0660
 
Did you restart devd(8)? Although I'm not sure if that's enough, those permissions might be set when the device is created. So you may have to reboot for this one (unloading xpt(4) is somewhat tricky on a running system).
 
Did you restart devd(8)? Although I'm not sure if that's enough, those permissions might be set when the device is created. So you may have to reboot for this one (unloading xpt(4) is somewhat tricky on a running system).
Thanks for the reply. I have tried restarting devd and the computer with no luck. I can change the permissions as root at the applications work. But remembering to do this on each boot is not ideal. I guess I could put a chmod command in /etc/rc.local but that seems a bit hacky also.
 
Back
Top