On Sat, Apr 29, 2000 at 03:56:34PM -0500, Peter Janett wrote:
> I need to execute qmail-newu via a Perl script web interface. When I try, I
> get this error:
> qmail-newu: fatal: unable to open users/cdb.tmp
>
> I have played with the permissions on qmail-newu, and tried adding user
> nobody (the user Apache is running as) to the qmail group, but I can't get
> it figured out.
Your script needs write access to the users directory in order to create
users/cdb.tmp. Your users directory permissions probably look like this:
drwxr-xr-x 2 root qmail 512 Mar 23 08:44 users
which won't allow your script, running as nobody, to create the cdb.tmp file.
Chris