Bug#755434: pmount: please support exfat filesystem (via fuse)
* Vincent Danjean , 2024-05-04 23:56: ++{ "exfat", "nosuid,nodev,user", 1, "077", ",iocharset=%s",",fmask=%04o,dmask=%04o"}, Thanks, that does the trick for me. :) -- Jakub Wilk
Bug#755434: pmount: please support exfat filesystem (via fuse)
Le 04/05/2024 à 17:32, Jakub Wilk a écrit : * Vincent Danjean , 2016-12-25 23:36: ++ { "exfat", "nosuid,nodev,user,quiet,nonempty", 1, "077", ",iocharset=%s",",fmask=%04o,dmask=%04o"}, This doesn't work for me. In dmesg I see: exfat: Unknown parameter 'quiet' I forgot this bug for a long time since I'm using exfat SDcard/USBkey with pmount when it is required. But looking at my package: $ apt-cache policy pmount pmount: Installé : 0.9.99-alpha-1.2 Candidat : 0.9.99-alpha-1.2 Table de version : *** 0.9.99-alpha-1.2 100 100 /var/lib/dpkg/status 0.9.23-7.1 500 500 http://deb.debian.org/debian testing/main amd64 Packages 500 http://deb.debian.org/debian unstable/main amd64 Packages It is a local package. So I looked where I build my packages and found a git tree initially cloned from git://git.debian.org/git/pmount/pmount-debian.git (of course, the site does not exist anymore). I was using a new upstream version (0.9.99-alpha) whose packaging had been prepared by Vincent Fourmond and I locally applied this patch on top of it: $ git diff origin/master diff --git a/debian/changelog b/debian/changelog index 3e17503..4a5f7cb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,17 @@ +pmount (0.9.99-alpha-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * fix options for exfat (remove unsupported 'quiet' option) + + -- Vincent Danjean Sun, 18 Jul 2021 11:52:26 +0200 + +pmount (0.9.99-alpha-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * support exfat filesystem (via fuse) (Closes: #755434) + + -- Vincent Danjean Sun, 25 Dec 2016 23:18:39 +0100 + pmount (0.9.99-alpha-1) experimental; urgency=low * New upstream experimental release, bringing in a lot of new features: diff --git a/debian/patches/02-exfat-support.diff b/debian/patches/02-exfat-support.diff new file mode 100644 index 000..d73af98 --- /dev/null +++ b/debian/patches/02-exfat-support.diff @@ -0,0 +1,11 @@ +Add support for exfat +--- a/src/fs.c b/src/fs.c +@@ -23,6 +23,7 @@ + { "iso9660", "nosuid,nodev,user", 1, NULL, ",iocharset=%s" }, + { "vfat", "nosuid,nodev,user,quiet,shortname=mixed", 1, "077", + ",iocharset=%s",",fmask=%04o,dmask=%04o"}, ++{ "exfat", "nosuid,nodev,user", 1, "077", ",iocharset=%s",",fmask=%04o,dmask=%04o"}, + { "hfsplus", "nosuid,nodev,user", 1, NULL, 0 }, + { "hfs", "nosuid,nodev,user", 1, "077", NULL, + ",file_umask=%04o,dir_umask=%04o"}, diff --git a/debian/patches/series b/debian/patches/series index e706419..f1ac0f2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 01-man-plugdev.diff +02-exfat-support.diff Looking at the dates, I see that origin/master was done by Vincent Fourmond on 2011-03-25 I created a (local) package with the patch in this bug report on 2016-12-25 and I updated it on 2021-07-18 by removing the "quiet" and "nonempty" options. Regards, Vincent PS: it seems that 0.9.99-alpha never enters unstable. The changelog is saying: diff --git a/ChangeLog b/ChangeLog index 1dd34dd..8dcca5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +0.9.99-alpha + +- EXPERIMENTAL RELEASE, use at your own risks ! +- introducing a new /etc/pmount.conf file in which potentially + security-weak operations can be allowed: + * running fsck + * mounting while not physically logged (that was the default) + * loopback device mounting +- pulling in new Russian translation from Rosetta +- now checking if root can open the device before attempting any + mount, to avoid very long hangs on "no medium found" and the like. +- whitelisting the "firewire" bus as a hotplug bus. + + + As noticed above, this is an experimental release. Please use with + care: even if the parsing of configuration files should be safe, it + has not been extensively tried. + + 0.9.23 --- - fix a security hole (see CVE-2010-2192 for more
Bug#755434: pmount: please support exfat filesystem (via fuse)
* Vincent Danjean , 2016-12-25 23:36: ++{ "exfat", "nosuid,nodev,user,quiet,nonempty", 1, "077", ",iocharset=%s",",fmask=%04o,dmask=%04o"}, This doesn't work for me. In dmesg I see: exfat: Unknown parameter 'quiet' -- Jakub Wilk
Bug#755434: pmount: please support exfat filesystem (via fuse)
Control: tags -1 + fixed-upstream This was fixed upstream [1] (without mention in the ChangeLog), and included in release 0.9.23.1 [2]. [1] https://github.com/MisterDA/pmount/commit/b05aa2191a4097c8f8cdccdd7ee52d983cdf0287 [2] https://github.com/MisterDA/pmount/releases/tag/v0.9.23.1
Bug#755434: pmount: please support exfat filesystem (via fuse)
Hi, any news on this bug? Would be pretty awesome to have exfat support in pmount for buster. Thanks, Bernd -- Bernd ZeimetzDebian GNU/Linux Developer http://bzed.dehttp://www.debian.org GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
Bug#755434: pmount: please support exfat filesystem (via fuse)
* Vincent Fourmond[170908 16:18]: > Oops, looks like I completely missed the patch. > > I'll review/apply ASAP, but I need to wait until my updated key is > back in the keyring. > > Thanks for your patience, No problem. I had prepared an almost identical patch before looking to see if there was already a bug. My patch included a change to src/pmount.c at line 365: -else if(! strcmp(fsname, "vfat") && fs->iocharset_format) { +else if((!strcmp(fsname, "vfat") || !strcmp(fsname, "exfat")) && fs->iocharset_format) { It seems to be a workaround for a bug in mount specific to vfat, so it is probably unnecessary. But I thought I would mention it, in case it jogs your memory about why that test was added. ...Marvin
Bug#755434: pmount: please support exfat filesystem (via fuse)
Oops, looks like I completely missed the patch. I'll review/apply ASAP, but I need to wait until my updated key is back in the keyring. Thanks for your patience, Vincent On Fri, Sep 8, 2017 at 9:17 PM, Marvin Renichwrote: > tags 755434 patch > thanks > > Vincent Danjean added a patch in his msg on 25 Dec 2016. I'm setting > the appropriate tag, and adding my "please apply this patch" to the bug > report. > > Many thanks for maintaining this package, as well as (hopefully) adding > this patch! > > ...Marvin
Bug#755434: pmount: please support exfat filesystem (via fuse)
tags 755434 patch thanks Vincent Danjean added a patch in his msg on 25 Dec 2016. I'm setting the appropriate tag, and adding my "please apply this patch" to the bug report. Many thanks for maintaining this package, as well as (hopefully) adding this patch! ...Marvin
Bug#755434: pmount: please support exfat filesystem (via fuse)
Package: pmount Version: 0.9.99-alpha-1 Followup-For: Bug #755434 Hi, It would be pleasant if pmount stretch supports exfat. I know the problems with this FS, but it is more and more used on large SD cards (in camera for example). The patch is simple (and can be applied on the current stretch version if you do not plan to upload 0.9.99-alpha-1 to stretch). It comes from https://bugs.launchpad.net/ubuntu/+source/pmount/+bug/1524523 I add it for reference in this mail. Regards, Vincent -- System Information: Debian Release: stretch/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (200, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armel, mipsel Kernel: Linux 4.9.0-rc8-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages pmount depends on: ii libblkid1 2.29-1 ii libc6 2.24-8 pmount recommends no packages. Versions of packages pmount suggests: ii cryptsetup 2:1.7.3-3 -- no debconf information diff --git a/debian/patches/02-exfat-support.diff b/debian/patches/02-exfat-support.diff new file mode 100644 index 000..19650df --- /dev/null +++ b/debian/patches/02-exfat-support.diff @@ -0,0 +1,11 @@ +Add support for exfat +--- a/src/fs.c b/src/fs.c +@@ -23,6 +23,7 @@ + { "iso9660", "nosuid,nodev,user", 1, NULL, ",iocharset=%s" }, + { "vfat", "nosuid,nodev,user,quiet,shortname=mixed", 1, "077", + ",iocharset=%s",",fmask=%04o,dmask=%04o"}, ++{ "exfat", "nosuid,nodev,user,quiet,nonempty", 1, "077", ",iocharset=%s",",fmask=%04o,dmask=%04o"}, + { "hfsplus", "nosuid,nodev,user", 1, NULL, 0 }, + { "hfs", "nosuid,nodev,user", 1, "077", NULL, + ",file_umask=%04o,dir_umask=%04o"}, diff --git a/debian/patches/series b/debian/patches/series index e706419..f1ac0f2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 01-man-plugdev.diff +02-exfat-support.diff
Bug#755434: pmount: please support exfat filesystem (via fuse)
Package: pmount Version: 0.9.23-2 Followup-For: Bug #755434 Hello, it is possible to mount exfat filesystem with mount but not with pmount. compared to mount pmount is deficient. It seems that some filesystems are only going to have FUSE implementation. Thanks Michal -- System Information: Debian Release: 7.6 APT prefers testing APT policy: (910, 'testing'), (900, 'stable'), (500, 'testing'), (410, 'unstable'), (400, 'experimental'), (300, 'saucy-updates'), (300, 'saucy-security'), (300, 'saucy-proposed'), (300, 'saucy-backports'), (300, 'saucy') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.15-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages pmount depends on: ii libblkid1 2.20.1-5.3 ii libc6 2.19-7 pmount recommends no packages. Versions of packages pmount suggests: pn cryptsetup none -- Configuration Files: /etc/pmount.allow changed [not included] /etc/pmount.conf changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#755434: pmount: please support exfat filesystem (via fuse)
Package: pmount Version: 0.9.99-alpha-1 Severity: wishlist hi, please support the exfat filesystem, using exfat-fuse (and exfat-utils) if installed. thanks, bernd -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pmount depends on: ii libblkid1 2.20.1-5.8 ii libc6 2.19-1 pmount recommends no packages. Versions of packages pmount suggests: ii cryptsetup 2:1.6.4-4 -- Configuration Files: /etc/pmount.conf changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org