Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #176212
| From | Nimrod <nimrod@virgilio.it> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | SOLVED Re: Preventing ACL on cdrom drive... |
| Date | 2017-01-01 19:10 +0100 |
| Message-ID | <sUSJY-3Hr-9@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <sSGjT-73u-3@gated-at.bofh.it> <sSHpD-7Hm-7@gated-at.bofh.it> <sSKQx-1Ad-1@gated-at.bofh.it> <sTjEB-6Rj-3@gated-at.bofh.it> <sTlQ6-8gN-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Wed, 2016-12-28 at 13:42 +0100, Pascal Hambourg wrote:
> Le 28/12/2016 à 11:19, Nimrod a écrit :
> >
> >> I guess I have to specify suitable permission in the above file. I
> >> tried with:
> >>
> >> ENV{ID_FS_USAGE}=="filesystem|other|crypto",
> >> ENV{UDISKS_FILESYSTEM_SHARED}="1", GROUP="users", MODE="0660"
> >>
> >> (on a single line), but it seems that GROUP and MODE are simply
> >> ignored.
> >
> > Sorry, I'm wrong again: the above line actually sets suitable permission
> > on /dev/sr0.
>
> Anyway I do not think that it helps.
>
> > So the problem is at mount point level. The cdrom is
> > mounted under /media/CDROM, but whatever permission I give to /media the
> > CDROM subdirectory is owned by user 1000 and nobody can umount it except
> > user 1000 (that's me, but if another user mount it, "eject" prompts me
> > with my own credentials in order to actually eject the CDROM).
>
> AFAIK, the ability for anyone to unmount the filesystem is not related
> to the permissions on the mount point but to the "users" mount option.
>
> > I didn't find any way to mount /media/CDROM avoiding this annoying
> > behaviour.
>
> Mount with a line in /etc/fstab with options noauto,users.
Well, actually that worked, but I was looking for a completely "udev"
solution. Nevertheless, I'm happy with this solution too, so I marked
the thread as solved.
Thanks and happy new year to everybody!
>
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll 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