1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00

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>
This commit is contained in:
Bryan Kadzban 2010-01-10 17:02:29 -08:00 committed by Martin Pitt
parent ca63e6a8cf
commit 0196d02a76

View File

@ -1,4 +1,4 @@
# 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 0640 -G floppy $root/%k"
RUN+="create_floppy_devices -c -t $env{CMOS_TYPE} -m %M -M 0660 -G floppy $root/%k"