From d93fb59c50a720e2a1ace2177cc824c00ff8eed6 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 12 Nov 2009 21:52:51 +0100 Subject: [PATCH] rules: set mode of floppy device nodes to 0660 --- rules/rules.d/50-udev-default.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules index a79073b9..3593a536 100644 --- a/rules/rules.d/50-udev-default.rules +++ b/rules/rules.d/50-udev-default.rules @@ -74,7 +74,7 @@ SUBSYSTEM=="block", GROUP="disk" # floppy KERNEL=="fd[0-9]", GROUP="floppy" -KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0640 -G floppy $root/%k" +KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0660 -G floppy $root/%k" KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions" # cdrom -- 2.39.5