a3@rivm.nl (Adri Verhoef) (10/09/90)
I had this problem: >This one has me stumped. Machine 'ours' calls machine 'theirs'; >`uuxqt' has no problems with rmail, inews, uusend, but there are >problems when 'bnb' is involved: > >*** My Permissions file: *** >MACHINE=theirs MYNAME=ours \ > REQUEST=yes SENDFILES=yes \ > COMMANDS=/bin/rmail:/usr/bin/uusend:/nntp/inews:/usr/local/bin/bnb > >*** An extract from .Log/uuxqt/theirs (logfile) on host "ours": *** >uucp theirs (10/4-1:19:10,4027,0) theirs!theirs!nuucp XQT (PATH=/bin:\ >/usr/bin USER=uucp UU_MACHINE=theirs UU_USER=theirs!nuucp export UU_MA\ >CHINE UU_USER PATH; /usr/bin/uusend -m 644 - ids ) >uucp theirs (10/4-9:11:42,11044,0) theirs!theirs!b4 XQT - STDIN/STDOU\ >T/FILE ACCESS DENIED (bnb /usr/local/bin/ruux - ours sh ) The problem is in the Permissions file! I was falling over the pathname check of uuxqt - not the command check. The command I was trying to exec on ``ours'' is: bnb /usr/local/bin/ruux - ours sh uuxqt was denying the request because there was no permission for any uuxqt'able command to get to any files outside (the default) PUBDIR (eg /usr/spool/uucppublic). So I had to give an accessible pathname to the bnb command; I needed to specify READ=/usr/spool/uucppublic:/usr/local/bin WRITE=/usr/spool/uucppublic:/usr/local/bin into the Permissions file, and now it's working fine! Thanks to Jonathan Clark (attmail!jonathan) for his really fast response and, not the least, for pointing me in the right direction! I'll have a rijsttafel ready, Jonathan. Just come on over the ocean. ;-) -- Adri (a3@rivm.nl)