cannot mount crypto-partitions without sudo
Bug #562579 reported by
Allo
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pmount (Debian) |
Fix Released
|
Unknown
|
|||
pmount (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: pmount
> LANG=C pmount sdd6
Internal error: cryptsetup luksOpen failed
> sudo pmount sdd6
works as expected.
Changed in pmount (Ubuntu): | |
status: | New → Confirmed |
Changed in pmount (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
This affects me too. I did not have this problem with 9.10. I believe pmount drops root permissions too early:
% pmount -d sdc2
..
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'isLuks' '/dev/sdc2'
spawn(): /sbin/cryptsetup terminated with status 0
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'luksOpen' '/dev/sdc2' '_dev_sdc2'
spawn(): /sbin/cryptsetup terminated with status 234
% ls -l /usr/bin/pmount
-rwsr-xr-- 1 root plugdev 39K 2009-11-07 18:50 /usr/bin/pmount
% /sbin/cryptsetup luksOpen /dev/sdc2 _dev_sdc2; echo $? # (as non-root user)
234
Also, for me sudo pmount works as expected.