Hi, When starting Zope server on port 80 under user "zope", sever fails with message "fail to bind port 80 - dont have permissions." When running under user "root", it is ok. When trying start zope server on port 8080, everything is ok. So just cant run on port 80 because of permissions but why? Have anyone similar experience? Zope server 2.5.1b1 FreeBSD 4.4 Thanks, David Marko
On 13/3/02 1:24 pm, "Stanislav Marszalek" <smarszalek@digi-trade.cz> wrote:
Hi, When starting Zope server on port 80 under user "zope", sever fails with message "fail to bind port 80 - dont have permissions." When running under user "root", it is ok. When trying start zope server on port 8080, everything is ok. So just cant run on port 80 because of permissions but why?
Generally only root can bind to ports lower than 1024. If you want user zope to be able to, you will need to set the suid bit on the binary and make it owned by root. -- Wayne Pascoe <wayne.pascoe@ehsrealtime.com> The price of freedom is eternal vigilance - Thomas Jefferson
From: "Stanislav Marszalek" <smarszalek@digi-trade.cz>
Hi, When starting Zope server on port 80 under user "zope", sever fails with message "fail to bind port 80 - dont have permissions." When running under user "root", it is ok. When trying start zope server on port 8080, everything is ok.
Yes. This is documented and expected behaviour.
So just cant run on port 80 because of permissions but why?
Because thats how the security is set up in most unices.
Have anyone similar experience?
Yup. Start it as root with -u zope to make it run as the correct user.
participants (3)
-
Lennart Regebro -
Stanislav Marszalek -
Wayne Pascoe