unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56383: Neither Gnome nor udisksctl can mount an nfs filesystem
@ 2022-07-04 14:03 Alexandre Hannud Abdo
  2022-07-04 17:22 ` Liliana Marie Prikler
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Hannud Abdo @ 2022-07-04 14:03 UTC (permalink / raw)
  To: 56383


[-- Attachment #1.1.1: Type: text/plain, Size: 1735 bytes --]

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 #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3475 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#56383: Neither Gnome nor udisksctl can mount an nfs filesystem
  2022-07-04 14:03 bug#56383: Neither Gnome nor udisksctl can mount an nfs filesystem Alexandre Hannud Abdo
@ 2022-07-04 17:22 ` Liliana Marie Prikler
  2022-07-07 10:11   ` Alexandre Hannud Abdo
  0 siblings, 1 reply; 4+ messages in thread
From: Liliana Marie Prikler @ 2022-07-04 17:22 UTC (permalink / raw)
  To: Alexandre Hannud Abdo, 56383

Am Montag, dem 04.07.2022 um 16:03 +0200 schrieb Alexandre Hannud Abdo:
> 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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#56383: Neither Gnome nor udisksctl can mount an nfs filesystem
  2022-07-04 17:22 ` Liliana Marie Prikler
@ 2022-07-07 10:11   ` Alexandre Hannud Abdo
  2022-07-07 14:54     ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Hannud Abdo @ 2022-07-07 10:11 UTC (permalink / raw)
  To: Liliana Marie Prikler, 56383


[-- Attachment #1.1.1: Type: text/plain, Size: 444 bytes --]

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.

Thanks for the info :)

.~´



[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3475 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#56383: Neither Gnome nor udisksctl can mount an nfs filesystem
  2022-07-07 10:11   ` Alexandre Hannud Abdo
@ 2022-07-07 14:54     ` Maxim Cournoyer
  0 siblings, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2022-07-07 14:54 UTC (permalink / raw)
  To: Alexandre Hannud Abdo; +Cc: 56383-done, Liliana Marie Prikler

Hi,

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

> 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
https://github.com/storaged-project/udisks/issues/932.  For the time
being, the author/maintainer reccomends to "stick to the ntfs-3g for
now, it is a proved and stable solution." [0]

[0]  https://github.com/storaged-project/udisks/issues/932#issuecomment-993861322

Closing, as this is an upstream issue already tracked.

Thanks,

Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-07 14:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 14:03 bug#56383: Neither Gnome nor udisksctl can mount an nfs filesystem Alexandre Hannud Abdo
2022-07-04 17:22 ` Liliana Marie Prikler
2022-07-07 10:11   ` Alexandre Hannud Abdo
2022-07-07 14:54     ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).