HylaFAX The world's most advanced open source fax server

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

Re: accessing recvq directory



You might want to try making sure that HylaFAX saves the faxes with a
permission that can be read by others... note that the display shows
that only the owner (root) can read the files.

Try putting a line like:
RecvFileMode:	0644

in your spool/etc/config file and restart the faxq daemon.  New faxes
should be more accessible.  You'll need to manually reset the
permissions on the existing fax files for other-read.

-Alan



Tom wrote:
> 
>   I'm having difficulty accessing faxes in recvq via hfaxd.  I can see the
> faxes:
> 
> test1# faxstat -r
> HylaFAX scheduler on test1.office: Running
> Modem cuaa1 (+1.604.856.7796): Running and idle
> 
> Protect Page  Owner        Sender/TSI  Recvd@ Filename
> -rw----    1  root            8567685 Wed04PM fax00005.tif
> -rw----    2  root            8567685 Tue06PM fax00004.tif
> -rw----    1  root            8567685 Wed04PM fax00006.tif
> -rw----    1  root            8567685 Wed04PM fax00007.tif
> -rw----    1  root            8567796 Wed04PM fax00008.tif
> -rw----    1  root            8567796 Wed04PM fax00009.tif
> -rw----    1  root         6048567796 Wed05PM fax00010.tif
> -rw----    1  root            8567796 Wed05PM fax00011.tif
> -rw----    1  root            8567796 Wed05PM fax00012.tif
> -rw----    1  root            8567796 Wed05PM fax00013.tif
> -rw----    1  root            8567796 Wed06PM fax00014.tif
> test1#
> 
>   But I can't access them via FTP to 4559:
> 
> test1# ftp localhost 4559
> Connected to localhost.
> 220 test1.office.uniserve.ca server (HylaFAX (tm) Version 4.0pl2) ready.
> Name (localhost:tom): anonymous
> 230 User anonymous logged in.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> cd recvq
> 250 CWD command successful.
> ftp> dir
> 200 PORT command successful.
> 150 Opening new data connection for ".".
> -rw----    1  anonymou        8567685 Wed04PM fax00005.tif
> -rw----    2  anonymou        8567685 Tue06PM fax00004.tif
> -rw----    1  anonymou        8567685 Wed04PM fax00006.tif
> -rw----    1  anonymou        8567685 Wed04PM fax00007.tif
> -rw----    1  anonymou        8567796 Wed04PM fax00008.tif
> -rw----    1  anonymou        8567796 Wed04PM fax00009.tif
> -rw----    1  anonymou     6048567796 Wed05PM fax00010.tif
> -rw----    1  anonymou        8567796 Wed05PM fax00011.tif
> -rw----    1  anonymou        8567796 Wed05PM fax00012.tif
> -rw----    1  anonymou        8567796 Wed05PM fax00013.tif
> -rw----    1  anonymou        8567796 Wed06PM fax00014.tif
> 226 Transfer complete.
> ftp> get fax00014.tif
> local: fax00014.tif remote: fax00014.tif
> 200 PORT command successful.
> 550 fax00014.tif: Operation not permitted.
> ftp>
> 
>   As you can see, I get a "550 fax00014.tif: Operation not permitted."
> response from hfaxd.
> 
>   etc/hosts has the following:
> 
> localhost:68::
> 
>   I used a uid of 68, because that is what received FAXes seem to be
> stored at.  No mention in manuals about id received FAXes might be stored
> as...
> 
>   So, how might I get at the FAXes?
> 
> Tom




Project hosted by iFAX Solutions