[buildd-tools-devel] Bug#688325: [schroot] I can't mount usb key with schroot

Guy Roussin guy.roussin at teledetection.fr
Fri Sep 21 15:55:32 UTC 2012


Package: schroot
Version: 1.6.3-1
Severity: normal

--- Please enter the report below this line. ---
Hi,

I can not mount a USB key under /media because
they belong to root.

How can i achieve this ?

Thank you,

Guy

guy at pcplat53:~$ grep media /etc/schroot/desktop/fstab
/media          /media          none    rw,bind         0       0

guy at pcplat53:~$ ls -al /media/
total 44
drwxr-xr-x  4 root root  4096 sept. 21 17:37 .
drwxr-xr-x 27 root root  4096 sept. 17 14:41 ..
drwx------  9 guy  guy  32768 janv.  1  1970 78AB-6034
lrwxrwxrwx  1 root root     6 août  12  2011 cdrom -> cdrom0
drwxr-xr-x  2 root root  4096 août  12  2011 cdrom0

guy at pcplat53:~$ schroot -c precise

(precise)guy at pcplat53:~$ ls -al /media
total 16
drwxr-xr-x  4 root root 4096 Sep 21 15:37 .
drwxr-xr-x 22 root root 4096 Sep 11 09:02 ..
drwx------  2 root root 4096 Sep 21 15:37 78AB-6034
lrwxrwxrwx  1 root root    6 Aug 12  2011 cdrom -> cdrom0
drwxr-xr-x  2 root root 4096 Aug 12  2011 cdrom0


--- System information. ---
Architecture: amd64
Kernel:       Linux 3.2.0-3-amd64

Debian Release: wheezy/sid
  500 unstable        qgis.org
  500 unstable        ftp.fr.debian.org
  500 testing         ftp.fr.debian.org
  500 stable          dl.google.com
  500 stable          deb.opera.com
  500 squeeze         deb.playonlinux.com
  500 hts             www.lonelycoder.com
  200 unstable        www.deb-multimedia.org
  150 experimental    ftp.fr.debian.org

--- Package information. ---
Depends                                (Version) | Installed
================================================-+-==============
libboost-filesystem1.49.0          (>= 1.49.0-1) | 1.49.0-3.1
libboost-iostreams1.49.0           (>= 1.49.0-1) | 1.49.0-3.1
libboost-program-options1.49.0     (>= 1.49.0-1) | 1.49.0-3.1
libboost-regex1.49.0               (>= 1.49.0-1) | 1.49.0-3.1
libboost-system1.49.0              (>= 1.49.0-1) | 1.49.0-3.1
libc6                                   (>= 2.4) |
libgcc1                             (>= 1:4.1.1) |
liblockdev1                                      |
libpam0g                           (>= 0.99.7.1) |
libstdc++6                              (>= 4.6) |
libuuid1                               (>= 2.16) |
schroot-common                       (= 1.6.3-1) |


Package's Recommends field is empty.

Suggests              (Version) | Installed
===============================-+-===========
debootstrap                     | 1.0.42
lvm2                            | 2.02.95-4
btrfs-tools                     |
aufs-modules                    |
 OR unionfs-modules             |
qemu-user-static                |



More information about the Buildd-tools-devel mailing list