Package: udev
Version: 056-3
Severity: normal

hi,

Any partition on a removable media belongs to the wrong group.
Happens because of nonmatching rule: permissions.rules line 3

/dev/sdf is a usbstick

/dev/sdf has the right group
# l /dev/sdf
brw-rw----  1 root floppy 8, 80 2005-08-06 17:41 /dev/sdf

but /dev/sdf1 belongs to the wrong group:
# l /dev/sdf1
brw-rw----  1 root disk 8, 81 2005-08-06 17:41 /dev/sdf1

the source of the problem is this line in permission.rules:
SUBSYSTEM="block", SYSFS{removable}="1", GROUP="floppy"

udevinfo -a -p `udevinfo -q path -n /dev/sdf1`
device '/sys/block/sdf/sdf1' has major:minor 8:81
  looking at class device '/sys/block/sdf/sdf1':
    SUBSYSTEM="block"
    SYSFS{dev}="8:81"
    SYSFS{size}="501149"
    SYSFS{start}="99"
    SYSFS{stat}="     379      379        0        0"

because if sdf is removable, sdf1 should be so also. So there
is no need for an attribute removable in sdf (imho).

cu,
Michael Gebetsroither

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=en_US.iso885915, LC_CTYPE=en_US.iso885915 (charmap=ISO-8859-15)
-- 
/*The only secure computer is one that's unplugged, locked in a
safe, and buried 20 feet under the ground in a secret location...
and i'm not even too sure about that one.*/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to