*** This bug is a duplicate of bug 189060 ***
    https://bugs.launchpad.net/bugs/189060

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 10 Mar 2009, Mario Schwalbe wrote:

> This is no duplicate and no race condition, at all. In addition to points 1-2 
> by Josh Smith, I'd like to add:
> 3) if ~/.pulse is a symlink, pulseaudio fails to start although the target 
> directory's permissions are correct

Have you strace -fF'd to confirm?

> the problem lies in pulsecore/core-util.c, function pa_make_secure_dir
> line 206 and following:
>
> #ifdef HAVE_LSTAT
>    if (lstat(dir, &st) < 0)
> #else
>    if (stat(dir, &st) < 0)
> #endif
>        goto fail;
>
> #ifndef OS_IS_WIN32
>    if (!S_ISDIR(st.st_mode) ||
>        (st.st_uid != uid) ||
>        (st.st_gid != gid) ||
>        ((st.st_mode & 0777) != m)) {
>        errno = EACCES;
>        goto fail;
>    }

The above changes can be addressed. What is being discussed is why root 
has suddenly consumed the files, e.g., ~/.pulse-cookie.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJtvMCe9GwFciKvaMRAto4AJ9GxoK81YzFrj/okp3P+A95+Kzb6gCeOC8V
4rxJ/5AQB4qCRV/TmZA5cyk=
=31a7
-----END PGP SIGNATURE-----

-- 
pulseaudio hangs, prevents login, home as ntfs
https://bugs.launchpad.net/bugs/330766
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to