From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Schwarzott Date: Sun, 29 Nov 2009 19:08:15 +0000 Subject: sticky permissions of block devices Message-Id: <200911292008.15575.zzam@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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