1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 15:21:37 +03:00
systemd/extras/floppy/60-floppy.rules
Bryan Kadzban 0196d02a76 Fix reverted floppy-device permissions
Commit d93fb59c50 ("rules: set mode of
floppy device nodes to 0660") changed the create_floppy_devices -M
argument to 0660, for udev-148.

Commit 78171d9549 reverted this, when it
moved the call to create_floppy_devices out to another rules file, for
udev-150.

Presumably the 0660 mode was correct, and the 0640 reversion was not
intentional; this restores 0660.

Signed-off-by: Bryan Kadzban <bryan@kadzban.is-a-geek.net>
2010-01-11 10:44:37 +01:00

5 lines
250 B
Plaintext

# do not edit this file, it will be overwritten on update
SUBSYSTEM=="block", KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", ENV{CMOS_TYPE}="$attr{cmos}", \
RUN+="create_floppy_devices -c -t $env{CMOS_TYPE} -m %M -M 0660 -G floppy $root/%k"