NTFS mount fails for read-only device
Submitted by Michael Wiktowy
Link to original bug (#729234)
Description
When mounting a whole disk image containing multiple partitions through right clicking in nautilus (an awesome feature), the gnome disk mounter properly sets up all the loopback mounts for ext3/4 partitions and sets up a stub that shows up for the NTFS partition. But when I click on the stub to mount it, the following error pops up:
Unable to access “68 GB Volume”
Error mounting /dev/loop1p1 at /run/media/mwiktowy/C2AC53F2AC53DF89: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/loop1p1" "/run/media/mwiktowy/C2AC53F2AC53DF89"' exited with non-zero exit status 21: ntfs-3g-mount: mount failed: Permission denied
When this is a real disk instead of an image, clicking on the partition mount stub in nautilus asks for the root password instead and allows mounting.
When this command is used as root on the command line it doesn't work either. Replacing "uhelper=" with "loop" allows mounting manually with access permissions of the regular user like I would have expected.
Version: 3.10.x