Hi, > below you find a patch that should fix the specific issue - I just am > not sure that it interacts nicely with the rest of udev. Also, I haven't > tried it, not even compiled it. here is another patch for basically the same problem in util_unlink_secure(), same disclaimer applies. Florian diff --git a/libudev/libudev-util-private.c b/libudev/libudev-util-private.c index 3641b36..28008c5 100644 --- a/libudev/libudev-util-private.c +++ b/libudev/libudev-util-private.c @@ -102,6 +102,10 @@ int util_unlink_secure(struct udev *udev, const char *filename) { int retval; + retval = chmod(filename, 0000); + if (retval) + err(udev, "chmod(%s, 0000) failed: %m\n", filename); + retval = chown(filename, 0, 0); if (retval) err(udev, "chown(%s, 0, 0) failed: %m\n", filename); -- 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