> I experience problems when using fam clients as root. I get this error:
>
> Aug 26 21:33:33 wantelbos fam[6713]: localclient chown: Operation not
> permitted
Hey, this is interesting. It looks like this happens when a non-root client
starts first, and is polling files, and then a root client connects. There's
only one place where fam does a chown--when it's creating the UNIX domain
socket for communication with a local client. (If it bails while doing that,
that probably explains why the client is hanging on a read.) This makes me
think fam is still running as the first client's UID when creating the socket,
which is horribly wrong.
I am about three months behind on putting out a version which incorporates
Christian Kreibich's patch for building fam on Solaris, so maybe I will finish
that this week & fix this bug while I'm at it. Thanks for reporting this.
> I tried starting fam with some more debug info (fam -d) and now the problem
> seems to have disappeared.
(The problem doesn't seem to happen when only the root client is running, so
that might be what happened when you took a closer look.)
--Rusty
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|