Neither Gnome nor udisksctl can mount an nfs filesystem

  • Done
  • quality assurance status badge
Details
3 participants
  • Alexandre Hannud Abdo
  • Liliana Marie Prikler
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Alexandre Hannud Abdo
Severity
normal
A
A
Alexandre Hannud Abdo wrote on 4 Jul 2022 16:03
(address . bug-guix@gnu.org)
17845cbb-34be-f6e9-2afa-0639b085ef5e@member.fsf.org
Ni! Connecting an external USB hard drive with an NTFS partition fails to mount it on both Gnome (Nautilus) and manually through udisksctl.
On nautilus, it shows the partition but clicking on it pops a window: "wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program, or other error".
I've managed to successfully mount it with my non-root user using udisksctl:
$ udisksctl mount -b /dev/sdb2 -t auto
Strangely, "-t ntfs" didn't work, but "-t auto" did the trick. Even when it worked, the drive is mounted without permissions for my user (uid 1000), though I could copy files with sudo.
System logs show:
Jul  2 12:45:44 localhost vmunix: [16392.469209] ntfs: volume version 3.1.
Jul  2 12:45:44 localhost shepherd[1]: [dbus-daemon]
Jul  2 12:45:44 localhost shepherd[1]: [dbus-daemon] (udisksd:1057): udisks-WARNING **: 12:45:44.302: Failed to setup systemd-based mount point cleanup: Failed to execute child process ?systemd-escape? (No such
file or directory)
Jul  2 12:45:44 localhost shepherd[1]: [dbus-daemon] udisks-Message: 12:45:44.303: Mounted /dev/sdb2 at /media/myuser/TOURO Mobile USB3.0 on behalf of uid 1000
My config.scm declares :
 (services (append (list (service gnome-desktop-service-type) ...
and also
 (packages (append (list
                    ;; for user mounts
                    gvfs
                    ;; for mtp and fat mounts
                    jmtpfs dosfstools
                    ;; for gnome-disks via udisksd
                    gptfdisk
                    ...
.~´
Attachment: OpenPGP_signature
L
L
Liliana Marie Prikler wrote on 4 Jul 2022 19:22
8e1ad289690e9f428e4fccc056cf5ef7d3863dfc.camel@gmail.com
Am Montag, dem 04.07.2022 um 16:03 +0200 schrieb Alexandre Hannud Abdo:
Toggle quote (3 lines)
> Ni! Connecting an external USB hard drive with an NTFS partition
> fails to mount it on both Gnome (Nautilus) and manually through
> udisksctl.
Note that NTFS != NFS. But to solve your problem, simply add ntfs-3g
to your operating-system's packages field.
A
A
Alexandre Hannud Abdo wrote on 7 Jul 2022 12:11
5f3a92c7-44c5-a83a-4709-b233423410dc@member.fsf.org
Le 04/07/2022 à 19:22, Liliana Marie Prikler a écrit :
Toggle quote (2 lines)
> Note that NTFS != NFS. But to solve your problem, simply add ntfs-3g
> to your operating-system's packages field.
Ni! Hello
"nfs" was a typo, sorry for that.
True, I can add ntfs-3g, but given that I was able to mount the drive without it, it would be nice if that worked, and it may point to something not behaving well with udisk.
Thanks for the info :)
.~´
Attachment: OpenPGP_signature
M
M
Maxim Cournoyer wrote on 7 Jul 2022 16:54
Re: bug#56383: Neither Gnome nor udisksctl can mount an nfs filesystem
(name . Alexandre Hannud Abdo)(address . abdo@member.fsf.org)
875yk90y8t.fsf@gmail.com
Hi,

Alexandre Hannud Abdo <abdo@member.fsf.org> writes:

Toggle quote (12 lines)
> Le 04/07/2022 à 19:22, Liliana Marie Prikler a écrit :
>> Note that NTFS != NFS. But to solve your problem, simply add ntfs-3g
>> to your operating-system's packages field.
>
> Ni! Hello
>
> "nfs" was a typo, sorry for that.
>
> True, I can add ntfs-3g, but given that I was able to mount the drive
> without it, it would be nice if that worked, and it may point to
> something not behaving well with udisk.

The issue is known upstream as
being, the author/maintainer reccomends to "stick to the ntfs-3g for
now, it is a proved and stable solution." [0]


Closing, as this is an upstream issue already tracked.

Thanks,

Maxim
Closed
?