Package: udev Version: 0.054-3 Severity: normal Tags: patch For devices not handled through sysfs it is impossible to create a device with specific permissions (one can create them through the links.conf hack).
I suggest modifying the links.conf hack to accept mode and owner as extra options. This would fix the issue, i.e. the function make_extra_nodes could be changed like this: # I hate this hack. -- Md make_extra_nodes() { grep '^[^#]' /etc/udev/links.conf | \ while read type name dev maj min perms own; do [ "$type" -a "$name" -a ! -e "/dev/$name" -a ! -L "/dev/$name" ] ||continue [ -z "$perms" -a "$type" = "M" ] && perms="600" case "$type" in L) ln -s $dev /dev/$name ;; D) mkdir -p /dev/$name ;; M) mknod --mode="$perms" /dev/$name $dev $maj $min ;; *) echo "links.conf: unparseable line ($type $name $dev $maj $min $perms $own)" ;; esac [ -z "$own" ] || chown "$own" /dev/$name done } /etc/udev/links.conf D isdn M isdn/isdnctrl0 c 45 64 0660 root.dialout M isdn/isdninfo c 45 255 0660 root.dialout M isdn/capi20 c 68 0 0660 uucp.dialout L faxCAPI isdn/capi20 -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (650, 'testing'), (600, 'unstable'), (1, 'experimental') Architecture: powerpc (ppc) Kernel: Linux 2.6.11-sonne Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages udev depends on: ii hotplug 0.0.20040329-20 Linux Hotplug Scripts ii initscripts 2.86.ds1-1 Standard scripts needed for bootin ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii makedev 3.3.8.2-0 Creates device files in /dev ii sed 4.1.4-2 The GNU sed stream editor -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]