[Pkg-utopia-maintainers] Bug#767233: Have been hit by the same permissions error in udisks2
shirish शिरीष
shirishag75 at gmail.com
Tue Jun 9 03:15:26 UTC 2015
Hi all,
Have been hit by the same permissions error in udisks2 as Pier Paolo
@Pier Paolo I tried your patch but didn't work. I still get the 'Not
authorized to perform operation' error as seen by you as well. Have
attached a picture to confirm the same.
My /etc/fstab looks like the following :-
[$] cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=xxxxxxxxxxxxxxx / ext4 errors=remount-ro 0 1
# /data was on /dev/sda8 during installation
UUID=xxxxxxxxxxxxxxxxx /data ext4 defaults 0 2
# /home was on /dev/sda7 during installation
UUID=xxxxxxxxxxxxxxxxxx /home ext4 defaults 0 2
# swap was on /dev/sda9 during installation
UUID=xxxxxxxxxxxxxxxxxxxx none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
tmpfs /tmp tmpfs nodev,nosuid,relatime,size=3G 0 0
So as can be seen there is nothing about any /dev/sdb1 devices.
Your 'patch' didn't work at all.
I did try some other things as well.
[$] udisksctl info -b /dev/sdb1
/org/freedesktop/UDisks2/block_devices/sdb1:
org.freedesktop.UDisks2.Block:
Configuration: []
CryptoBackingDevice: '/'
Device: /dev/sdb1
DeviceNumber: 2065
Drive:
'/org/freedesktop/UDisks2/drives/ST3500320AS_xxxxxxx''
HintAuto: true
HintIconName:
HintIgnore: false
HintName:
HintPartitionable: true
HintSymbolicIconName:
HintSystem: false
Id: by-id-ata-ST3500320AS_xxxxxxx-part1
IdLabel: FreeAgent Drive
IdType: ntfs
IdUUID: xxxxxxxxxxxxxxxxxx
IdUsage: filesystem
IdVersion:
MDRaid: '/'
MDRaidMember: '/'
PreferredDevice: /dev/sdb1
ReadOnly: false
Size: 500105217024
Symlinks: /dev/disk/by-id/ata-ST3500320AS_xxxxxxxxx-part1
/dev/disk/by-id/wwn-xxxxxxxxxxxx-part1
/dev/disk/by-label/FreeAgent\x20Drive
/dev/disk/by-path/pci-0000:00:1d.7-usb-0:8:1.0-scsi-0:0:0:0-part1
/dev/disk/by-uuid/CExxxxxxxxxxxxxxx
org.freedesktop.UDisks2.Filesystem:
MountPoints:
org.freedesktop.UDisks2.Partition:
Flags: 0
IsContained: false
IsContainer: false
Name:
Number: 1
Offset: 32256
Size: 500105217024
Table: '/org/freedesktop/UDisks2/block_devices/sdb'
Type: 0x07
UUID: xxxxxxxxxxxxx
Note - I have just replaced some of the info. needed by xxxxxxx for
privacy reasons making sure that the technical bits that are needed
are there.
Mounting by hand had the desired result :-
─[$] udisksctl mount -b /dev/sdb1
Mounted /dev/sdb1 at /media/shirish/FreeAgent Drive.
and this is also seen by :-
[$] udisksctl info -b /dev/sdb1 | grep MountPoints
MountPoints: /media/shirish/FreeAgent Drive
I looked at the listing and for sure they were all listed with user's
ownership, not root's .
[$] ll | more /media/shirish/FreeAgent\ Drive
total 1272564
-rw-r--r-- 1 shirish shirish 1418441 Feb 4 00:41 008.pdf
I was even able to unmount it properly.
─[$] udisksctl unmount -b /dev/sdb1
Unmounted /dev/sdb1.
So the issue seems to lie somewhere else.
-- System Information:
Debian Release: stretch/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (1,
'experimental'), (1, 'unstable'), (1, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages udisks2 depends on:
ii dbus 1.9.16-2
ii libacl1 2.2.52-2
ii libatasmart4 0.19-3
ii libc6 2.19-18
ii libglib2.0-0 2.45.1-2
ii libgudev-1.0-0 230-1
ii libpam-systemd 220-5
ii libpolkit-agent-1-0 0.105-8
ii libpolkit-gobject-1-0 0.105-8
ii libsystemd0 220-5
ii libudisks2-0 2.1.5-3
ii parted 3.2-7
ii udev 220-5
Versions of packages udisks2 recommends:
ii dosfstools 3.0.28-1
ii eject 2.1.5+deb1+cvs20081104-13.1
ii gdisk 1.0.0-2
ii ntfs-3g 1:2014.2.15AR.3-3
ii policykit-1 0.105-8
Versions of packages udisks2 suggests:
ii btrfs-tools 4.0-2
ii cryptsetup-bin 2:1.6.6-5
pn exfat-utils <none>
pn mdadm <none>
pn reiserfsprogs <none>
pn xfsprogs <none>
-- no debconf information
--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8
More information about the Pkg-utopia-maintainers
mailing list