Re: roundup-server gives permission denied error?

"John P. Rouillard" <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
In message <[email protected]>,
Ralf Schlatterbeck writes:
>On Thu, Jun 30, 2022 at 03:40:15PM +0000, Ed Trumbull wrote:
>> 
>> When I attempt to start the tracker using this command:
>> 
>> roundup-server -p 80 -n 0.0.0.0 as2=/local/data/roundup/as2
>
>> I get [Errno 13] Permission denied
>
>Are you starting this as user roundup on a Linux (or other Unix variant)
>machine? On these machines ports below 1024 may not be bound by normal
>users. So you can use a different port (8080 is the default for
>roundup-server).
>
>Let us know if the problem was the port.

That's almost certainly it. I just committed a change to report:

  Unable to bind to port 80, access not allowed, errno: 13 Permission denied

instead. Thanks for the report of the cryptic error Ed.

Ed, if you are not going to run roundup behind a web server like
apache, hiawatha, nginx etc. you can start roundup as root and it will
bind to port 80 then drop to the user and group you specify. E.G.


 sudo roundup-server -p 80 -n 0.0.0.0 -u roundup -g roundup \
     as2=/local/data/roundup/as2

what you should see in the output of 'ps -aux' is Python running as
root up until port 80 is bound then it should show up as the user
roundup.


--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.