From: "Nicolas Pomarède" <npomarede@corp.free.fr>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] add ACLs to /dev/sgX nodes for CD-ROM
Date: Sun, 06 Mar 2011 17:21:09 +0000 [thread overview]
Message-ID: <4D73C285.5070909@corp.free.fr> (raw)
In-Reply-To: <1299402082-4796-1-git-send-email-arvidjaar@mail.ru>
Le 06/03/2011 16:33, Kay Sievers a écrit :
> On Sun, Mar 6, 2011 at 10:01, Andrey Borzenkov<arvidjaar@mail.ru> wrote:
>> Current wine is using /dev/sgX to access CD-ROM devices. Since
>> distributions switched to using ACL instead of group membership
>> to control device access, wine is not able to access them.
>>
>> Add ACL to device nodes that already get GROUP="cdrom".
>
> sg is kind of deprecated and should really not be used anymore by
> anything. Ideally we would start no even loading the module.
>
> Who exactly depends on it and can not be fixed? Why does Fedora and
> SUSE does not seem to have any problem the last couple of years?
>
> Kay
Other distribs are also having problem with this :
gentoo : http://bugs.gentoo.org/321007
fedora 13 : http://bugs.winehq.org/show_bug.cgi?id#313
Wine's code is using /dev/sgX, I don't know if there're some patches
around to change this.
It seems an usual fix is to add oneself to the cdrom group, but this is
hardly an out of the box solution for a non technical user that would
just install his linux distro of choice.
The fact that this problem is often related to users wanting to run
protected games under Wine is certainly another reason why it didn't get
much attention or fixes so far (in my case I want to access low level
scsi functions with EAC).
Using acl in udev would provide a solution that automatically enables
access to /dev/sgX for any logged user, without having to change /etc/group.
Nicolas
next prev parent reply other threads:[~2011-03-06 17:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-06 9:01 [PATCH] add ACLs to /dev/sgX nodes for CD-ROM Andrey Borzenkov
2011-03-06 15:33 ` Kay Sievers
2011-03-06 17:21 ` Nicolas Pomarède [this message]
2011-03-07 15:23 ` Kay Sievers
2011-03-14 16:33 ` Harald Hoyer
2011-03-14 16:41 ` Kay Sievers
2011-03-14 23:20 ` Karl O. Pinc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D73C285.5070909@corp.free.fr \
--to=npomarede@corp.free.fr \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).