Re: users can't play cds

From: Polytropon <freebsd_at_edvax.de>
Date: Mon, 19 Feb 2024 04:27:01 UTC
On Sun, 18 Feb 2024 21:02:45 -0500, Vlad Markov wrote:
>
> users get this error from player:
>
> MPlayer SVN-r38448-snapshot-16.0.6 (C) 2000-2024 MPlayer Team
>
> Playing cdda://.
> **ERROR: fread (): Invalid argument
> [...]
>
> So I say its a permission problem.
>
> The device:
> grumpy$ ls -l /dev/cd*
> crw-rw----  1 root operator 0x91 Feb 18 07:37 /dev/cd0
> lrw-rw----  1 root operator    3 Feb 18 07:38 /dev/cdrom -> cd0
>
> The user:
> grumpy$ id
> uid=1001(vlad) gid=1001(vlad)
> groups=1001(vlad),0(wheel),5(operator),1002(users)
>
> The user is part of the operator group.
>
> I am flummoxed.

I'm not fully sure, but maybe you also need to grant access
to the xpt and pass* device(s); group +rw should be okay as
shown for the cd0 device.



--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...