[Bug 15572] Trekstore USB storage: Hoary mount OK, Breezy mount NOT OK

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Mon Sep 26 08:43:40 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=15572
Ubuntu | hal-device-manager





------- Additional Comments From martin.pitt at ubuntu.com  2005-09-26 09:43 UTC -------
(In reply to comment #12)
> One thing I did was to add me to the group disc. Now the partitions are mounted
> all to the directories

Oh, DON'T! Being a member of group disk is equivalent to being root, so you (or
a malicious process that runs under your user account) can easily compromise the
whole system. Also, since the USB devices are owned by group plugdev, it should
not even make any difference.

> drwxr-xr-x   3 felix root   4096 2004-12-04 21:35 usbdisk
> drwx------   9 felix felix 16384 1970-01-01 01:00 usbdisk-1
> drwxr-xr-x  10 felix root   4096 2005-08-04 17:27 usbdisk-2
> 
> One thing I notice is that usbdisk-1 has other group than the other dirs and an
> other rights.

That's fine, since you have different file systems on them.

> Another thing is that the partitions now get mounted in the upper 3 dirs but the
> order of the partitions is any time different, if I remove the disc and plug it
> in again.

The final order is pure coincidence. To better tell them apart, you should give
them proper device labels. For ext2/3 you can do that with

  sudo tune2fs -L "Multimedia" /dev/sda2
  sudo tune2fs -L "My data" /dev/sda3

Unfortunately there is no command to change the device label of a VFAT partition
(your /dev/sda1), but if all but one partition have proper labels, then the
remaining one is usbdisk.

Please revert the "add disk to my user" change, unmount/unplug the hard disk and
give me the output of

  ls -l /media/

The lines

  manager.c/696: executing command: /usr/bin/pmount-hal
/org/freedesktop/Hal/devices/volume_uuid_502d0c5c_480e_4a40_a192_746077322393
  Fehler: konnte Verzeichnis nicht anlegen: Die Datei existiert bereits
  Fehler: konnte pmount nicht ausführen

could lead me to the actual source of the problem. After this, please replug
your hard disk (/dev/sda2 should not be mounted automatically) and give me the
output of

  pmount -d /dev/sda2

Thanks!

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list