summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Kadzban <bryan@kadzban.is-a-geek.net>2010-01-10 17:02:29 -0800
committerMartin Pitt <martin.pitt@ubuntu.com>2010-01-11 10:44:37 +0100
commit0196d02a7623be430a9dc13a51cd2320336ade1e (patch)
treed22c33cd096d170a3167c59d87dd05f2cfa27dce
parentca63e6a8cf7b12601528e3048af10a54985aac46 (diff)
Fix reverted floppy-device permissions
Commit d93fb59c50a720e2a1ace2177cc824c00ff8eed6 ("rules: set mode of floppy device nodes to 0660") changed the create_floppy_devices -M argument to 0660, for udev-148. Commit 78171d9549fafdfc1e29d30915104a3ad55e116b 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>
-rw-r--r--extras/floppy/60-floppy.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/floppy/60-floppy.rules b/extras/floppy/60-floppy.rules
index 3123bb55fd..53e4a9e59a 100644
--- a/extras/floppy/60-floppy.rules
+++ b/extras/floppy/60-floppy.rules
@@ -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"