Newsgroups: news.software.b
Path: utzoo!telly!eci386!woods
From: woods@eci386.uucp (Greg A. Woods)
Subject: Re: uucp: PERMISSION (DENIED) - why?
Message-ID: <1990Sep6.172337.27387@eci386.uucp>
Reply-To: woods@eci386.UUCP (Greg A. Woods)
Organization: Elegant Communications Inc.
References: <1990Sep2.004525.18064@pmsmam.uucp>
Date: Thu, 6 Sep 90 17:23:37 GMT

In article <1990Sep2.004525.18064@pmsmam.uucp> wwm@pmsmam.uucp (Bill Meahan) writes:
> Can anybody tell meh why I occasionally get a PERMISSION DENIED 'fault' on
> news batches fed to me?  It's not like I have a basic problem with news
> permission permissions (at least that I KNOW of :-) ) since I get a LOT
> of batches with no problem.
>[....]
> Anbody got any ideas.suggestions?
>[....]
> For the record:
> 	PMSMAM is an HP 9000/825 under HP-UX 2.1 (SYSV+BSD)
> 	UUCP is of the HDB variety

I'm not sure if this is the cause of your problem, but it is
definitely something that can cause problems.

Be sure you never run uucico as root.  That means don't run the
uudemon scripts from root's crontab, and don't run Uutry as root.
Create a uucp crontab, and always su to uucp before running Uutry.

There is a subtle bug in many HDB's (i.e. including AT&T's 3.2) where
uucico doesn't correctly manage the setuid()'s if it is run as root.
This usually manifests itself as a file disappearing without notice,
usually from a uuto.  The uucico fails after it has made the
directories in uucppublic, and the only record of the failure is in
one of the log files.  No mail is sent, and in fact if there are
multiple files, subsequent ones will arrive properly (since the
directories already exist).
-- 
						Greg A. Woods

woods@{eci386,gate,robohack,ontmoh,tmsoft}.UUCP
+1-416-443-1734 [h]  +1-416-595-5425 [w]    VE3-TCP	Toronto, Ontario CANADA
