pam_mount, encrypted home, openSUSE 11.2: home owned by root

view full story

http://forums.opensuse.org – Trying to upgrade from 11.1 to 11.2, I have run into trouble with my encrypted home partition. It's a LUKS encrypted partition that I mount automatically with pam_mount. My trouble is that the partition is mounted with root as the owner, which makes it unusable for me. I have tried setting the noroot attribute to "1", but that doesn't work at all. Here is a condensed version of /etc/security/pam_mount.conf.xml: <pam_mount> <luserconf name=".pam_mount.conf.xml" /> <mntoptions allow="nosuid,nodev,loop,encryption,fsck,nonempty, allow_root,allow_other"/> <mntoptions require="nosuid,nodev"/> <path>/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin</path> <logout wait="2000" hup="0" term="1" kill="1"/> <mkmountpoint enable="1" remove="true"/> <volume user="my_username" fstype="crypt" path="/dev/sda11" mountpoint="/home/my_username" options="cipher=aes"/> </pam_mount> (Distributions)