On Tue, Oct 26, 2004 at 03:20:40PM +0200, Frank Steiner wrote: > Kay Sievers wrote > > >Empty fields mean default permissions, so this will not work. udev will > >overwrite everything on "add". Only the inode may be preserved, if the > >node already exists with the correct major/minor. > > Just one comment: > Having "hdc*:root:disk:660" in udev.permissions and calling "udevstart" > will always set /dev/hdc to root:disk and 600. With owner and group > fields empty, udevstart will not change the owner and the group. I'm > not sure if udevstart triggers "add" events, likely not? Sure, udevstart simulates a "add" event for every device it can find. I can't reproduce the failure. I expect you have a earlier line matching in one of your .permissions files. udev searches the list from the top and the first match will make it. Do you have "hd*:..." or similar before the "hdc*"? > With the permission field empty, udevstart will set the permissions > to 000, although udev.conf specifies 0600 as default, so I guess this > is wrong... Yes, it is wrong. We only apply the defaults if we don't match any rule. The attached patch should fix this. Thanks, Kay