View previous topic :: View next topic |
Author |
Message |
andi456 Apprentice
Joined: 06 Mar 2005 Posts: 221 Location: Germany
|
Posted: Fri Mar 07, 2014 7:13 pm Post subject: problem mounting encrypted usb-harddrive in kde4 |
|
|
Hi,
trying to mount my encrypted usb-harddrive in kde4 I get somthing like a permission error:
Code: | An unspecified error has occured: Not authorized to perform operation |
I can still mount it via command line, but cannot figure out, where I should have set the permission. How can I possibly get more information about what's really going wrong?
Regards Andreas
Last edited by andi456 on Sat Mar 08, 2014 1:00 pm; edited 1 time in total |
|
Back to top |
|
|
mhogomchungu n00b
Joined: 18 May 2013 Posts: 19
|
Posted: Sat Mar 08, 2014 2:40 am Post subject: |
|
|
how do you unlock the drive and mount it from the terminal?
the volume is encrypted using what? LUKS or TRUECRYPT? |
|
Back to top |
|
|
andi456 Apprentice
Joined: 06 Mar 2005 Posts: 221 Location: Germany
|
Posted: Sat Mar 08, 2014 1:18 pm Post subject: |
|
|
It's a LUKS device, i.e., I use
Code: | cryptsetup luksOpen /dev/sd[xy] crypt
mount /dev/mapper/crypt /mnt/crypt
|
from the terminal. Actually I forgot to mount the harddrive this way, until it stopped working under kde4.
Regards Andreas |
|
Back to top |
|
|
mhogomchungu n00b
Joined: 18 May 2013 Posts: 19
|
Posted: Sun Mar 09, 2014 3:39 am Post subject: |
|
|
something must be wrong somewhere between udisks and polkit
you can use udisks from the terminal to see if it will work or what error it will generate if it doesnt
below is an example of what i did to unlock and mount a LUKS volume using udisksctl
Quote: |
[ink@mtz zc]$ udisksctl unlock -b /dev/sdc2
Passphrase:
Unlocked /dev/sdc2 as /dev/dm-0.
[ink@mtz zc]$ udisksctl mount -b /dev/dm-0
Mounted /dev/dm-0 at /media/80d95e22-1344-441a-b0ae-741164312dee.
[ink@mtz zc]$
|
you can run "udisksctl -h" to get more options.
you can also use zuluCrypt[1] to manage your LUKS volume,it does not use udisks or polkit and hence does not suffer from their "issues".
[1] http://code.google.com/p/zulucrypt/ |
|
Back to top |
|
|
andi456 Apprentice
Joined: 06 Mar 2005 Posts: 221 Location: Germany
|
Posted: Sun Mar 09, 2014 11:48 am Post subject: |
|
|
Hi,
udisksctl wants my root password
Code: | udisksctl unlock -b /dev/sde3
Passphrase:
==== AUTHENTICATING FOR org.freedesktop.udisks2.encrypted-unlock ===
Legitimierung ist zum Entsperren des verschlüsselten Geräts (/dev/sde3) notwendig
Authenticating as: root
|
So where do I find the config file to change this behaviour?
Regards Andreas |
|
Back to top |
|
|
mhogomchungu n00b
Joined: 18 May 2013 Posts: 19
|
|
Back to top |
|
|
|