Public bug reported:

On my usb removable drive I created two partitions:

$ sudo fdisk -l /dev/sdb

Disk /dev/sdb: 15.8 GB, 15804137472 bytes
64 heads, 32 sectors/track, 15072 cylinders, total 30867456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f38c6

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048     4196351     2097152    b  W95 FAT32
/dev/sdb2         4196352    30867455    13335552   83  Linux

If I insert the drive, both partitions are automatically mounted (as
they should), but only the FAT32 partition gets mounted with gid and uid
of my user, the Ext4 partition is mounted for root:

$ mount
[...]
/dev/sdb1 on /media/moi/MOI-A type vfat 
(rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
/dev/sdb2 on /media/moi/moi-b type ext4 (rw,nosuid,nodev,uhelper=udisks2)

I expect that both partitions are mounted for my user
(uid=1000,gid=1000).

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: udisks2 2.1.3-1ubuntu0.1
ProcVersionSignature: Ubuntu 3.13.0-92.139-generic 3.13.11-ckt39
Uname: Linux 3.13.0-92-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
CurrentDesktop: GNOME
CustomUdevRuleFiles: 60-vboxdrv.rules 50-buspirate.rules
Date: Sat Jul 23 22:18:30 2016
InstallationDate: Installed on 2014-05-17 (798 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Dell Inc. Latitude E6410
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcEnviron:
 LANGUAGE=de_DE
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-92-generic.efi.signed 
root=UUID=636cc6ef-7324-4465-89c8-020773a6fa84 ro quiet splash acpi_osi=Linux 
vt.handoff=7
SourcePackage: udisks2
Symptom: storage
Title: No permission to access files on storage device
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/05/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A16
dmi.board.name: 04373Y
dmi.board.vendor: Dell Inc.
dmi.board.version: A03
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvrA16:bd12/05/2013:svnDellInc.:pnLatitudeE6410:pvr0001:rvnDellInc.:rn04373Y:rvrA03:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E6410
dmi.product.version: 0001
dmi.sys.vendor: Dell Inc.

** Affects: udisks2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to udisks2 in Ubuntu.
https://bugs.launchpad.net/bugs/1605931

Title:
  No permission to access files on removable storage device

Status in udisks2 package in Ubuntu:
  New

Bug description:
  On my usb removable drive I created two partitions:

  $ sudo fdisk -l /dev/sdb

  Disk /dev/sdb: 15.8 GB, 15804137472 bytes
  64 heads, 32 sectors/track, 15072 cylinders, total 30867456 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical/physical): 512 bytes / 512 bytes
  I/O size (minimum/optimal): 512 bytes / 512 bytes
  Disk identifier: 0x000f38c6

     Device Boot      Start         End      Blocks   Id  System
  /dev/sdb1            2048     4196351     2097152    b  W95 FAT32
  /dev/sdb2         4196352    30867455    13335552   83  Linux

  If I insert the drive, both partitions are automatically mounted (as
  they should), but only the FAT32 partition gets mounted with gid and
  uid of my user, the Ext4 partition is mounted for root:

  $ mount
  [...]
  /dev/sdb1 on /media/moi/MOI-A type vfat 
(rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
  /dev/sdb2 on /media/moi/moi-b type ext4 (rw,nosuid,nodev,uhelper=udisks2)

  I expect that both partitions are mounted for my user
  (uid=1000,gid=1000).

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: udisks2 2.1.3-1ubuntu0.1
  ProcVersionSignature: Ubuntu 3.13.0-92.139-generic 3.13.11-ckt39
  Uname: Linux 3.13.0-92-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.21
  Architecture: amd64
  CurrentDesktop: GNOME
  CustomUdevRuleFiles: 60-vboxdrv.rules 50-buspirate.rules
  Date: Sat Jul 23 22:18:30 2016
  InstallationDate: Installed on 2014-05-17 (798 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  MachineType: Dell Inc. Latitude E6410
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  ProcEnviron:
   LANGUAGE=de_DE
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-92-generic.efi.signed 
root=UUID=636cc6ef-7324-4465-89c8-020773a6fa84 ro quiet splash acpi_osi=Linux 
vt.handoff=7
  SourcePackage: udisks2
  Symptom: storage
  Title: No permission to access files on storage device
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/05/2013
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A16
  dmi.board.name: 04373Y
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A03
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvrA16:bd12/05/2013:svnDellInc.:pnLatitudeE6410:pvr0001:rvnDellInc.:rn04373Y:rvrA03:cvnDellInc.:ct9:cvr:
  dmi.product.name: Latitude E6410
  dmi.product.version: 0001
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/1605931/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to