Re: [cdesktopenv-devel] TT_ERR_PROCID with dtmail/dtpad

2012-08-19 Thread Jon Trulson
On Sun, 19 Aug 2012, Marcin Cieslak wrote: > Seems like I have to run dtmail both setuid root > and setgid mail (with setgid only I get a well > known error), but here is something different: > I would love to know why... I do not recall ever having dtmail suid root. -- Jon Trulson "If the Mar

Re: [cdesktopenv-devel] TT_ERR_PROCID with dtmail/dtpad

2012-08-19 Thread Frederic Koehler
The way I have debugged these cryptic tooltalk messages before is by doing a bulk replace of "return TT_ERR_*" with something like > fprintf(stderr, __FILE__ ":%d is going TT_ERR_BLANK!\n", __LINE__); return > TT_ERR_BLANK; (better would probably be: _tt_syslog(stderr, LOG_ERR, blahblahblah) ins