Hello, we hit a problem similar to what's described here: https://bugzilla.redhat.com/show_bug.cgi?id=852449 http://lists.opensuse.org/opensuse-bugs/2012-10/msg02347.html
Some NFS servers reject fchown requests, even if you chown to the same uid/gid. pulseaudio always executes fchown even if the uid and gid are already set correctly (very likely). This patch only executes fchown if the uid or gid of ~/.pulse is different from what we want.
Can you please consider this patch? Thanks, Bram.
--- pulseaudio-1.1/src/pulsecore/core-util.c 2011-10-20 14:54:16.000000000 +0200 +++ pulseaudio-1.1.bram/src/pulsecore/core-util.c 2013-04-22 11:24:17.833593875 +0200 @@ -269,8 +269,10 @@ int pa_make_secure_dir(const char* dir, uid = getuid(); if (gid == (gid_t) -1) gid = getgid(); - if (fchown(fd, uid, gid) < 0) - goto fail; + if ((st.st_uid != uid) || + (st.st_gid != gid) ) /* only execute fchown if the uid and gid are different from what we expect */ + if (fchown(fd, uid, gid) < 0) + goto fail; #endif #ifdef HAVE_FCHMOD
_______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss