Package: pmount Version: 0.9.11-1 Severity: wishlist Hi, I have been using pmount to mount a usbkey formatted as ext3. I recently bought a mp3 player with 1GB and I thought desirable to use it instead of my 64MB key. However the player uses VFAT, so I couldn't use UNIX file permissions (which is a PITA). I came up with having a fs in a file inside the VFAT fs. But then you can't use pmount and you have to be root to mount it (correct me if I am wrong). I think it would be desirable to be able to mount loop devices as a regular user. For that, several things have to be fixed:
1. /dev/loop* need to have a group different that 'disk'. 'plugdev', for example. 2. /dev/loop* need to be included in /etc/pmount.allow, or change linux so /sys/block/loop*/removable is 1 instead of 0 (I think this is the best solution). 3. pmount would have to be changed so if the parameter is a file instead of a device, do something similar to: /sbin/losetup /dev/loop0 fs.img And then use /dev/loop0 as a normal device and mount it in /dev/fs.img Probably what I am proposing is crazy (since I haven't thought about security, etc...), but I can't see why this is not possible with the current system. I am motivated to do the changes myself (I don't think it's difficult, all of them seem one-liners), if nobody sees any problem. Thanks Pablo -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-xen-686 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages pmount depends on: ii libc6 2.3.6-15 GNU C Library: Shared libraries ii libdbus-1-2 0.61-6 simple interprocess messaging syst ii libhal-storage1 0.5.7-2 Hardware Abstraction Layer - share ii libhal1 0.5.7-2 Hardware Abstraction Layer - share ii libsysfs2 2.0.0-7 interface library to sysfs pmount recommends no packages. -- no debconf information ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]