HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Problem with hfaxd



thanks man. I've chmod a+rw to /var/spool/fax/client
and it works now.
Since I'm starting hfaxd from /etc/init.d why doesn't the deamon have root
acess??

regards,
Luis



On Thu, 7 Mar 2002, Bernd Proissl wrote:

> > > > 420 EuroServer server cannot initialize: Could not create client/694:
> > > > Permission denied
> > > > Connection closed by foreign host.
> 
> hfaxd/FIFO.c++
> --------------------------------
> /*
>  * Create the client FIFO and open it for use.
>  */
> bool
> HylaFAXServer::initClientFIFO(fxStr& emsg)
> {
>     clientFIFOName = fxStr::format(FAX_CLIENTDIR "/%u", getpid());
>     if (Sys::mkfifo(clientFIFOName, 0622) < 0 && errno != EEXIST) {
>         emsg = fxStr::format("Could not create %s: %s",
>             (const char*) clientFIFOName, strerror(errno));
>         return (false);
>     }
> --------------------------------
> 
> Sys::mkfifo fails with "/694" as a FIFO name because of "permission denied"
> 
> On my system FAX_CLIENTDIR is /var/spool/hylafax/client and the the
> FIFO(s) are created there.
> 
> Bernd
> 
> 
> ____________________ HylaFAX(tm) Users Mailing List _______________________
>  To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
> 


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions