Description of problem:
I use fuse-encfs and pam_mount to mount my home directory. Currently I have the following problem: If I define the "allow_other" option it seems to be ignored, as well as "nonempty". The user's directory is mounted but no one else can access it.
The "allow_other" option is present in /etc/fuse.conf
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create encfs encryption layer from /tmp/a to /tmp/b using test user's login password and unmount it (fusermount -u /tmp/b) afterwards.
2a. Preparte pam_mount (I've only listed important entries)
<debug enable="1" />
<mntoptions allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other,default_permissions" />
<volume user="user" fstype="fuse" path="encfs#/tmp/a" mountpoint="/tmp/b" options="default_permissions,allow_other" />
3a. Login as test user (here: "user").
The encryption layer from /tmp/a to /tmp/b is created, but root or other users have no access to it.
Everyone on the system should have access to /tmp/b if the allow_other option is used.
Fixed upstream in 2.8.
There's a patch in Ubuntu's bug tracker, comment number 4: https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/670865
I downloaded the F14 src rpm, added this patch, rebuilt, installed, and it's working great.
This is fixed since pam_mount 2.8 anyway.
That'd be fantastic if 2.8 was in F14. Unfortunately, F14 and F15 still have 2.5.
libHX-3.12.1-1.fc17,hxtools-20120514-1.fc17,pam_mount-2.13-1.fc17 has been submitted as an update for Fedora 17.
Package libHX-3.12.1-1.fc17, hxtools-20120514-1.fc17, pam_mount-2.13-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libHX-3.12.1-1.fc17 hxtools-20120514-1.fc17 pam_mount-2.13-1.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
libHX-3.12.1-1.fc17, hxtools-20120514-1.fc17, pam_mount-2.13-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.