Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #175895

Re: Preventing ACL on cdrom drive...

From Nimrod <nimrod@virgilio.it>
Newsgroups linux.debian.user
Subject Re: Preventing ACL on cdrom drive...
Date 2016-12-23 21:20 +0100
Message-ID <sREtP-3b1-9@gated-at.bofh.it> (permalink)
References <sRCs2-1T6-23@gated-at.bofh.it> <sRDHs-2EZ-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Thanks for your kind answer, below is mine.

On Fri, 2016-12-23 at 20:30 +0100, Thomas Schmitt wrote:

> Hi,
> 
> Nimrod wrote:
> > the first user that logs in after boot locks the cdrom
> > drive, and any other user that logs in can't eject the cdrom: only the first
> > user can eject it.
> 
> Are you sure that it is the existence of the a user's ACL permission
> which prevents the other's from ejecting and not their lack of own
> permission ?

No, I'm lost in the deepest darkness.

> 
> I understand from traces in the web, that on my Debian Jessie it is about
>   SUBSYSTEM=="block", ENV{ID_CDROM}=="1", TAG+="uaccess"
> in
>   /lib/udev/rules.d/70-uaccess.rules
> Rumor has it that "uaccess" causes the ACL.

That's what I found too, but none of the adviced solution works.

> 
> The permission set of my /dev/sr0
> 
>   brw-rw----+ 1 root cdrom 11, 0 Dec 23 12:26 /dev/sr0
> 

Here are mine:

brw-rw---- 1 root cdrom 11, 0 Dec 23 20:48 /dev/sr0

I see a "----+" in your permission. What is that, and how could I get it
too?


> is not narrowed by the desktop user's ACL but rather widened. So i would
> assume that your whole family needs rw-permission. That could be achieved
> here by putting them all into group "cdrom".
> 

They all are already.

I add something I forgot to mention: sometimes I'm even prompted for
password to eject a CD I myself put into the drive!

> 
> Have a nice day :)

I'd rather hope to get in bed quite soon and sleep till 11 AM, but
thanks a lot anyway.

> 
> Thomas
> 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Preventing ACL on cdrom drive... Nimrod <nimrod@virgilio.it> - 2016-12-23 19:10 +0100
  Re: Preventing ACL on cdrom drive... "Thomas Schmitt" <scdbackup@gmx.net> - 2016-12-23 20:30 +0100
    Re: Preventing ACL on cdrom drive... Nimrod <nimrod@virgilio.it> - 2016-12-23 21:20 +0100
      Re: Preventing ACL on cdrom drive... "Thomas Schmitt" <scdbackup@gmx.net> - 2016-12-23 23:20 +0100
        Re: Preventing ACL on cdrom drive... Nimrod <nimrod@virgilio.it> - 2016-12-23 23:50 +0100
  Re: Preventing ACL on cdrom drive... Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-12-23 21:00 +0100
    Re: Preventing ACL on cdrom drive... Nimrod <nimrod@virgilio.it> - 2016-12-23 22:50 +0100
  Re: Preventing ACL on cdrom drive... Michael Biebl <biebl@debian.org> - 2016-12-24 05:30 +0100
    Re: Preventing ACL on cdrom drive... Nimrod <nimrod@virgilio.it> - 2016-12-26 17:30 +0100
      Re: Preventing ACL on cdrom drive... Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-12-26 18:40 +0100
        Re: Preventing ACL on cdrom drive... Nimrod <nimrod@virgilio.it> - 2016-12-26 22:20 +0100
          Re: Preventing ACL on cdrom drive... Nimrod <nimrod@virgilio.it> - 2016-12-28 11:30 +0100
            Re: Preventing ACL on cdrom drive... Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-12-28 13:50 +0100
              SOLVED Re: Preventing ACL on cdrom drive... Nimrod <nimrod@virgilio.it> - 2017-01-01 19:10 +0100

csiph-web