linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Pitt <martin.pitt@ubuntu.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Patch: add ACL for parallel printer and scanner
Date: Wed, 07 Oct 2009 16:59:10 +0000	[thread overview]
Message-ID: <20091007165910.GO2370@piware.de> (raw)
In-Reply-To: <1254904702.16942.11.camel@trinidad.mandrakesoft.com>

Frederic Crozat [2009-10-07 18:31 +0200]:
> > This grants access to any device connected, to the parallel port, and
> > is not limited to printers or scanners, right?
> >   KERNEL="parport[0-9]*",  ENV{ACL_MANAGE}="1"
> 
> Yes, since there is no possible autodetection on it.

Parallel printers also use those devices, though (even though cups
usually talks through the lp module to them, through /dev/lpN). So far
we didn't give users access to printer devices, mostly because
cups should be the only thing which talks to them, to (1) avoid access
conflicts, and (2) avoid tampering printers and other users' print
jobs.

> Well, we need to set ACL on parallel port for scanners (not sure it is
> really needed for printers).

I'd really like to avoid it for printers, see above.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

  parent reply	other threads:[~2009-10-07 16:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-07  8:38 Patch: add ACL for parallel printer and scanner Frederic Crozat
2009-10-07 11:13 ` Kay Sievers
2009-10-07 16:31 ` Frederic Crozat
2009-10-07 16:59 ` Martin Pitt [this message]
2009-10-07 17:40 ` Frederic Crozat
2009-10-08  2:18 ` 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=20091007165910.GO2370@piware.de \
    --to=martin.pitt@ubuntu.com \
    --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).