From: Kay Sievers Date: Thu, 12 Nov 2009 20:52:51 +0000 (+0100) Subject: rules: set mode of floppy device nodes to 0660 X-Git-Tag: 174~720 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d93fb59c50a720e2a1ace2177cc824c00ff8eed6;p=systemd rules: set mode of floppy device nodes to 0660 --- 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