sticky permissions of block devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux