linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sticky permissions of block devices
@ 2009-11-29 19:08 Matthias Schwarzott
  2009-11-29 19:16 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Schwarzott @ 2009-11-29 19:08 UTC (permalink / raw)
  To: linux-hotplug

Hi there!

Newer udev has an ugly behaviour regarding block devices.
Chown a blockdevice to some user and open it once.
udev will trigger a change event and reset the permissions back to root:disk.

The fastest solution I can propose is to restrict permission setting to 
ACTION="add", but is that a good choice?

The use-case I had was to allow a user to access /dev/sda for running qemu.

Regards
Matthias

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-29 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-29 19:08 sticky permissions of block devices Matthias Schwarzott
2009-11-29 19:16 ` Kay Sievers

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).