According to Joe R. Jah: > On Sun, 18 Mar 2001, Geoff Hutchison wrote: > > At 11:13 AM -0800 3/18/01, Joe R. Jah wrote: > > >Documents that need external parser don't get indexed when rundig from the > > >command prompt;-/ Not really that important because I always rundig from > > >cron; just an FYI;) > > > > And when you do this, it's running as root? I'm assuming this is a > > permission problem, but it's helpful to clarify. > > No, it never runs as root; in both cases, cron and command line, it runs > as user jjah, which has full access to the relevant files and directories. > It has always run like this without a problem until yesterday when I > applied ExternalParser.1 patch. I suspect a permission problem. The mode should always be specified when O_CREAT is in the flags to open(). Try changing the two open calls in the patch (or in the ExternalParser.cc source) from: +#ifdef O_BINARY + fd = open((char*)path, O_WRONLY|O_CREAT|O_EXCL|O_BINARY); +#else + fd = open((char*)path, O_WRONLY|O_CREAT|O_EXCL); +#endif to: +#ifdef O_BINARY + fd = open((char*)path, O_WRONLY|O_CREAT|O_EXCL|O_BINARY, 0600); +#else + fd = open((char*)path, O_WRONLY|O_CREAT|O_EXCL, 0600); +#endif -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930 _______________________________________________ htdig-dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/htdig-dev