No permission to access files on storage device Ubuntu 12.04 does not allow me to access Floppy Drive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udisks |
Confirmed
|
Medium
|
|||
udisks2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am running Ubuntu 12.04 LTS and I am unable to access the 3.5" Floppy Drive. It is recognised on the desktopit . Ie.Home Folder.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: udisks 1.0.4-5ubuntu2.1
ProcVersionSign
Uname: Linux 3.2.0-31-
ApportVersion: 2.0.1-0ubuntu13
Architecture: i386
Date: Tue Oct 9 16:31:48 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
ProcEnviron:
LANGUAGE=en_AU:en
TERM=xterm
PATH=(custom, no user)
LANG=en_AU.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: udisks
Symptom: storage
Title: No permission to access files on storage device
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/08/2006
dmi.bios.vendor: Intel Corp.
dmi.bios.version: NT94510J.
dmi.board.
dmi.board.name: D945GCZ
dmi.board.vendor: Intel Corporation
dmi.board.version: AAC99368-501
dmi.chassis.type: 2
dmi.modalias: dmi:bvnIntelCor
Changed in udisks: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Created attachment 78381
output of 'udisksctl dump'
When I try to mount a floppy disk (formatted with FAT12) in the internal floppy drive using "udisksctl mount -b /dev/fd0" it gets mounted as root instead of the logged in user. As a consequence I don't have write access.
wolfi@amiga:~> udisksctl mount -b /dev/fd0 wolfi/disk. wolfi/disk
Mounted /dev/fd0 at /run/media/
wolfi@amiga:~> ls -la /run/media/
insgesamt 86
drwxr-xr-x 2 root root 3584 1. Jän 1970 .
drwxr-x---+ 3 root root 60 23. Apr 18:07 ..
-rwxr-xr-x 1 root root 83968 16. Okt 2001 slides1.ppt
On the other hand, when I try to mount an USB stick (formatted with FAT32) it does get mounted as the logged in user.
wolfi@amiga:~> udisksctl mount -b /dev/sdc1 wolfi/Transcend . wolfi/Transcend
Mounted /dev/sdc1 at /run/media/
wolfi@amiga:~> ls -la /run/media/
insgesamt 16
drwx------ 3 wolfi users 8192 1. Jän 1970 .
drwxr-x---+ 4 root root 80 23. Apr 18:08 ..
drwx------ 18 wolfi users 8192 27. Jän 23:45 Instrumentelle Analytische Chemie Protokolle
I would expect that the floppy disk is also mounted as the logged in user.
The same behaviour occurs with udisks-2.0.0 as shipped with openSUSE 12.3 and a self-compiled udisk-2.1.0.
I also tried an Ubuntu 13.04 LiveCD with the same result, so it's not openSUSE specific.
wolfi@amiga:~> cat /etc/fstab 110,busmode= 0775,devgid= 110,devmode= 0664 0 0
/dev/sdb2 swap swap defaults 0 0
/dev/sda1 / reiserfs acl,user_xattr 1 1
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs auto,busgid=
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/sdb1 /windows/C ntfs-3g defaults 0 0
wolfi@amiga:~> rpm -q udisks2 gvfs libatasmart4 2.0.0-5. 4.1.x86_ 64 14.2-2. 1.2.x86_ 64 0.19-2. 1.1.x86_ 64
udisks2-
gvfs-1.
libatasmart4-