FS#54644 - [udisks2] Mounting media as user fails with "Mount syscall failed: 13"
Attached to Project:
Arch Linux
Opened by Jonathon (jonathon) - Friday, 30 June 2017, 09:41 GMT
Last edited by Felix Yan (felixonmars) - Friday, 14 July 2017, 04:15 GMT
Opened by Jonathon (jonathon) - Friday, 30 June 2017, 09:41 GMT
Last edited by Felix Yan (felixonmars) - Friday, 14 July 2017, 04:15 GMT
|
Details
Description:
Attempting to mount an optical disk as a user with `gvfs-mount`, `gio mount`, or `udisksctl` fails. Mounting directly with `sudo mount` or via fstab entry works as expected. Additional info: This is a recent regression but the root cause isn't obvious. Discovered on Manjaro but replicated by Arch forum mod on plain Arch, please see thread before closing: https://bbs.archlinux.org/viewtopic.php?id=227791 A Manjaro user also reported failure with a USB device (but not reliably replicated). Steps to reproduce: * Insert optical storage medium * Run `gvfs-mount -d /dev/sr0` * Observe "Error mounting /dev/sr0 ... Mount syscall failed: 13." References: https://bbs.archlinux.org/viewtopic.php?id=227791 https://forum.manjaro.org/t/mount-dvd-error-mount-syscall-failed-13/26750 |
This task depends upon
Closed by Felix Yan (felixonmars)
Friday, 14 July 2017, 04:15 GMT
Reason for closing: Fixed
Additional comments about closing: libblockdev 2.10
Friday, 14 July 2017, 04:15 GMT
Reason for closing: Fixed
Additional comments about closing: libblockdev 2.10
udisksctl loop-setup -r -f image.iso
Try to open mounted image and give "Mount syscall failed: 13."
$ udisksctl mount -b /dev/loop0
==== AUTHENTICATING FOR org.freedesktop.udisks2.filesystem-mount-system ====
Authentication is required to mount /dev/loop0
Authenticating as: root
Password:
==== AUTHENTICATION COMPLETE ====
Error mounting /dev/loop0: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error mounting /dev/loop0 at /run/media/aivar/Slax CD: Mount syscall failed: 13.
The delete of the loop device also requires authentication.
Quite specific to Arch - mounting the same bootable flash drives works fine under Sparky Linux, and used to work under Arch.
https://github.com/storaged-project/udisks/issues/334