Comment 1 for bug 562579

Revision history for this message
pberndt (phillip-berndt) wrote :

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.