HylaFAX The world's most advanced open source fax server

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

[hylafax-users] permissions - chroot ? - faxrcvd



Dear all,

I'm trying to make some changes to faxrcvd here on 4.2.5 / OpenBSD.
Yes, the original faxrcvd works !

But i can't get for my life another command working in it.
I understand, it gets its commands from etc/setup.cache ?
So when I add
WC='/usr/bin/wc'
to etc/setup.cache it ought to work ?

In order to debug it, I added some echo. But also these don't show.
When I try
echo Nonsense >> myfile
in faxrcvd, nothing is written.
I 'touch'ed myfile in recvq/, but no success.
I even tried
$ECHO Nonsense >> myfile
since
ECHO='/bin/echo'

Can someone please point out the basics here:
Who executes faxrcvd ?
INFO=$SBIN/faxinfo
SENDER="`$INFO $FILE | $AWK -F: '/Sender/ { print $2 }' 2>$ERRORSTO |
$SED 's/^.//'`"
Therefore I guess, faxrcvd works in  recvq/ . Right ?

But further down, I *can*
cp $FILE.pdf publ/
(I created the dir publ/ in /var/spool/hylafax/); with exactly the
same permissions:)
drwxr-xr-x  2 uucp  dialer   512 Jul 17 15:14 publ
drwxr-xr-x  2 uucp  dialer  1024 Jul 17 15:13 recvq

Why can't I echo to recvq/ but cp to publ/ ??


Thanks so much for some enlightenment !


Uwe

____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions