On 2014-07-22, Josh Grosse <j...@jggimi.homeip.net> wrote: > On Tue, Jul 22, 2014 at 09:22:24AM +0000, Stuart Henderson wrote: >> On 2014-07-21, Tuyosi Takesima <nakajin.fu...@gmail.com> wrote: >> > ... >> > >> > sudo mplayer dvd://1 -dvd-device /dev/rcd0c -aid 129 >> > >> > ... >> I think it would be better to change permissions on the device - >> mplayer code should not be run as root. > > $ ls -l /dev/cd0c > brw-r----- 1 root operator 6, 2 Jul 19 17:36 /dev/cd0c > $ > > Perhaps tuyosi-san's user should be added to the operator group. > > This will give the user read access to devices. It may not > be appropriate for all users, but certainly would be OK for one with > wheel group or broad sudo authority.
I think it may be better to change the group ownership of the device node instead - I don't see the need for mplayer to have access to the other privileges that "operator" allows.