sata/ata device permission for user

Beeblebrox zaphod at berentweb.com
Sun Apr 14 08:11:45 UTC 2013


My user is unable to mount cdrom and cannot use qemu for the HDD devices. Why
is access to these devices being refused for my user?

1. % mount_cd9660 /dev/cd0 /cdrom
mount_cd9660: /dev/cd0: Operation not permitted

2. % qemu-system-x86_64 -hda /dev/ada2
qemu-system-x86_64: -hda /dev/ada2: could not open disk image /dev/ada2:
Operation not permitted

*SETTINGS:*
% id => uid=1001(xyz) gid=0(wheel) groups=0(wheel),5(operator),1001(xyz)

/etc/devfs.rules has:  [localrules=10]
add path 'ada[0-9]*' mode 0660 group operator
add path 'da[0-9]*' mode 0660 group operator
add path 'cd[0-9]*' mode 0660 group operator

/etc/rc.conf has:
devfs_system_ruleset="localrules"

Regards.



-----
10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel

--
View this message in context: http://freebsd.1045724.n5.nabble.com/sata-ata-device-permission-for-user-tp5803691.html
Sent from the freebsd-questions mailing list archive at Nabble.com.


More information about the freebsd-questions mailing list