The script should be owned by vpopmail
        chown vpopmail script
Set the script to run as vpopmail
        chmod u+s script

That will allow the script to have the same permissions as vpopmail and it
should be able to write the the directory.

-----Original Message-----
From: The Guyver [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 20, 2001 11:37 AM
To: Sean O'Dea; [EMAIL PROTECTED]
Subject: Re: Urgent Help, please!


How do I do it please??
Thanks again!

----- Original Message -----
From: "Sean O'Dea" <[EMAIL PROTECTED]>
To: "'The Guyver'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 8:32 PM
Subject: RE: Urgent Help, please!


> The script probably needs to run setuid to the vpopmail user.
>
> -----Original Message-----
> From: The Guyver [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 11:30 AM
> To: [EMAIL PROTECTED]
> Subject: Urgent Help, please!
>
>
> Hello there,
> I'm in a desperate need to write a PHP script that creates a new mailbox
> with vpopmail 4.10.35
> I've written everything correctly but when I use exec or system I always
end
> up with this error:
>
> Error: Unable to chdir to vpopmail/domains directory
>
> please help me it's very urgent if anybody has a clue I'll appreciate so
> much.
>
> Guyver
>

Reply via email to