Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Apr 2013 01:11:38 -0700 (PDT)
From:      Beeblebrox <zaphod@berentweb.com>
To:        freebsd-questions@freebsd.org
Subject:   sata/ata device permission for user
Message-ID:  <1365927098231-5803691.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1365927098231-5803691.post>