Good call. It seems that it's only python that has the problem. I wonder why...
On Sunday 07 September 2003 09:36 pm, Andrew Gaffney wrote: > Stephen Boulet wrote: > > Yes, but I'm having the issue using ports > 1024: > > > > $ python /usr/bin/pop3proxy.py -u 1025 -b > > SpamBayes POP3 Proxy Beta2, version 0.2 (September 2003), > > using SpamBayes POP3 Proxy Web Interface Alpha3, version 0.03 > > and engine SpamBayes Beta2, version 0.2 (July 2003). > > > > Loading database... > > Traceback (most recent call last): > > File "/usr/bin/pop3proxy.py", line 820, in ? > > run() > > File "/usr/bin/pop3proxy.py", line 814, in run > > start(state=state) > > File "/usr/bin/pop3proxy.py", line 752, in start > > main(state.servers, state.proxyPorts, state.uiPort, state.launchUI) > > File "/usr/bin/pop3proxy.py", line 729, in main > > _createProxies(servers, proxyPorts) > > File "/usr/bin/pop3proxy.py", line 707, in _createProxies > > listener = BayesProxyListener(server, serverPort, proxyPort) > > File "/usr/bin/pop3proxy.py", line 299, in __init__ > > Dibbler.Listener.__init__(self, proxyPort, BayesProxy, proxyArgs) > > File "/usr/lib/python2.2/site-packages/spambayes/Dibbler.py", line 267, > > in __init__ > > self.bind(port) > > File "/usr/lib/python2.2/asyncore.py", line 312, in bind > > return self.socket.bind (addr) > > socket.error: (13, 'Permission denied') > > > > This does work: > > > > su -c " python /usr/bin/pop3proxy.py -u 1025 -b" > > Is it only Python that has this problem? Do 'emerge netcat' and then run > 'nc -l -p 1025' as a normal user. > > [EMAIL PROTECTED] agaffney $ nc -l -p 1025 > (It listens here, use Ctrl-C to stop it) > [EMAIL PROTECTED] agaffney $ nc -l -p 1020 > Can't grab 0.0.0.0:1020 with bind : Permission denied -- Stephen From here to there and there to here, funny things are everywhere. -- Dr Seuss -- [EMAIL PROTECTED] mailing list