I know this is an older thread, but I found a solution to problem of
using audio with home dir mounted from network.

I assume you use pam_mount to automatically mount users home
directories. It uses mount.cifs program to mount the specified volumes.
The problem is, that the remote filesystem, where you homedir is placed
does not support UGO. cifs.mount gives all the folders and files same
user rights (for me on Ubuntu 13.04 its 755).

Pulse audio needs to create a secured folder (~/.config/pulse) with
rights set to 700. Fortunatelly you can use cifs.mount parameters
file_mode and dirmode.

So when you edit your /etc/security/pam_mount.conf.xml like this:

<!-- mount home dir -->
<volume user="*" fstype="cifs" server="YourServerName" 
path="NetworkPathToYourHomedir" mountpoint="~/" />
<!-- mount pulseaudio -->
<volume user="*" fstype="cifs" server="YourServerName" 
path="NetworkPathToYourHomedir/.config/pulse" mountpoint="~/.config/pulse" 
options="file_mode=0600, dir_mode="0700" />

After you log out and back in, you will have your homedir mounted with
working pulseaudio.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/925023

Title:
  Likewise win domain user user cannot access audio

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/likewise-open/+bug/925023/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to