Bug#338120: udev: permissions for partitions on removeable devices wrong
X-Reportbug-Version: 3.17 Package: udev Version: 0.070-3 Severity: important I'm using a memory stick on USB, which gets used as an scsi disk. In 20_permissions.rules I find SUBSYSTEM==block, SYSFS{removable}==1, GROUP=floppy SUBSYSTEM==block, SYSFS{../removable}==1, GROUP=floppy but that doesn't seem to work for partitions: $ ls -la /dev/sda* brw-rw-rw- 1 root floppy 8, 0 2005-08-11 07:39 /dev/sda brw-r--r-- 1 root root 8, 1 2005-08-11 07:41 /dev/sda1 -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (600, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-1) (ignored: LC_ALL set to de_AT) Versions of packages udev depends on: ii initscripts 2.86.ds1-4 Standard scripts needed for bootin ii libc6 2.3.5-7GNU C Library: Shared libraries an ii libselinux1 1.26-1 SELinux shared libraries ii lsb-base 3.0-11 Linux Standard Base 3.0 init scrip ii makedev 3.3.8.2-0 Creates device files in /dev ii sed 4.1.4-4The GNU sed stream editor udev recommends no packages. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#338120: udev: permissions for partitions on removeable devices wrong
tag 338120 unreproducible moreinfo thanks On Nov 08, Ph. Marek [EMAIL PROTECTED] wrote: but that doesn't seem to work for partitions: $ ls -la /dev/sda* brw-rw-rw- 1 root floppy 8, 0 2005-08-11 07:39 /dev/sda brw-r--r-- 1 root root 8, 1 2005-08-11 07:41 /dev/sda1 It works for me. I see you are using an old kernel, can you try with a recent kernel? If it still fails, then try upgrading udev as well. -- ciao, Marco signature.asc Description: Digital signature
Bug#338120: udev: permissions for partitions on removeable devices wrong
On Tuesday 08 November 2005 11:10, Marco d'Itri wrote: tag 338120 unreproducible moreinfo thanks On Nov 08, Ph. Marek [EMAIL PROTECTED] wrote: but that doesn't seem to work for partitions: $ ls -la /dev/sda* brw-rw-rw- 1 root floppy 8, 0 2005-08-11 07:39 /dev/sda brw-r--r-- 1 root root 8, 1 2005-08-11 07:41 /dev/sda1 It works for me. I see you are using an old kernel, can you try with a recent kernel? If it still fails, then try upgrading udev as well. # cat /proc/version Linux version 2.6.12 ([EMAIL PROTECTED]) (gcc version 4.0.1 20050617 (prerelease) (Debian 4.0.0-9ubuntu2)) #1 Mon Jun 20 07:57:54 CEST 2005 Is that recent enough? I did upgrade udev now: # apt-get -t unstable install udev Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut... Fertig Die folgenden NEUEN Pakete werden installiert: udev 0 aktualisiert, 1 neu installiert, 0 zu entfernen und 6 nicht aktualisiert. Es müssen 300kB Archive geholt werden. Nach dem Auspacken werden 1004kB Plattenplatz zusätzlich benutzt. Hole:1 http://ftp.univie.ac.at unstable/main udev 0.074-1 [300kB] Es wurden 300kB in 0s geholt (316kB/s) Wähle vormals abgewähltes Paket udev. (Lese Datenbank ... 147500 Dateien und Verzeichnisse sind derzeit installiert.) Entpacke udev (aus .../archives/udev_0.074-1_i386.deb) ... ** * Please purge the hotplug package! ** dpkg: Warnung - alte Datei »/etc/udev/scripts« kann nicht gelöscht werden: Das Verzeichnis ist nicht leer Richte udev ein (0.074-1) ... Installiere neue Version der Konfigurationsdatei /etc/init.d/udev-mtab ... Installiere neue Version der Konfigurationsdatei /etc/init.d/udev ... Installiere neue Version der Konfigurationsdatei /etc/udev/udev.conf ... Installiere neue Version der Konfigurationsdatei /etc/udev/links.conf ... Installiere neue Version der Konfigurationsdatei /etc/udev/permissions.rules ... Installiere neue Version der Konfigurationsdatei /etc/udev/udev.rules ... Installiere neue Version der Konfigurationsdatei /etc/udev/hotplugd.rules ... Installiere neue Version der Konfigurationsdatei /etc/udev/devfs.rules ... Installiere neue Version der Konfigurationsdatei /etc/udev/hotplug.rules ... Installiere neue Version der Konfigurationsdatei /etc/modprobe.d/display_class ... Purging hotplug was not necessary: # apt-get remove --purge hotplug Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut... Fertig Paket hotplug ist nicht installiert, wird also auch nicht entfernt 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 6 nicht aktualisiert. I'll give that a try, will report in about a week, ok? Regards, Phil
Bug#338120: udev: permissions for partitions on removeable devices wrong
On Tuesday 08 November 2005 11:10, Marco d'Itri wrote: tag 338120 unreproducible moreinfo thanks On Nov 08, Ph. Marek [EMAIL PROTECTED] wrote: but that doesn't seem to work for partitions: $ ls -la /dev/sda* brw-rw-rw- 1 root floppy 8, 0 2005-08-11 07:39 /dev/sda brw-r--r-- 1 root root 8, 1 2005-08-11 07:41 /dev/sda1 It works for me. I see you are using an old kernel, can you try with a recent kernel? If it still fails, then try upgrading udev as well. Works for me, too. $ cat /proc/version Linux version 2.6.13-1-686-smp (Debian 2.6.13-1) ([EMAIL PROTECTED]) (gcc version 4.0.2 (Debian 4.0.2-2)) #1 SMP Fri Oct 7 00:44:52 JST 2005 $ ls -la /dev/sda* brw-rw-rw- 1 root floppy 8, 0 2005-11-08 12:33 /dev/sda brw-rw-rw- 1 root floppy 8, 1 2005-11-08 12:33 /dev/sda1 Thank you. Regards, Phil -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#338120: udev: permissions for partitions on removeable devices wrong
tag 338120 - unreproducible moreinfo tag 338120 upstream retitle 338120 should require a = 2.6.13 kernel? thanks On Nov 08, Ph. Marek [EMAIL PROTECTED] wrote: It works for me. I see you are using an old kernel, can you try with a recent kernel? If it still fails, then try upgrading udev as well. Works for me, too. The upstream maintainer is not sure about why this happens, I added a note to README.Debian. Unless absolutely needed I prefer to not raise the required kernel version yet, so I will keep the bug open. -- ciao, Marco signature.asc Description: Digital signature