Arc Forumnew | comments | leaders | submitlogin
3 points by aw 5763 days ago | link | parent

Line 14 of srv.arc in arc3.1 switches the user id that Arc (mzscheme) is running under.

The purpose of this is to allow port 80 to be opened by mzscheme, and then to switch to a non-privileged user to run the server under.

If you don't need to open port 80, or you're going to run the Arc server as root, simply remove that line.

Alternatively, choose a user id to run the Arc server under, make the Arc directory and all its files owned by that user, and change the "2" in the setuid command to the numeric user id of that user.



1 point by evanrmurphy 5739 days ago | link

I was having a duplicate of system42's problem, and commenting out line 14 fixed it for me. Thank you, aw!

-----

1 point by system42 5763 days ago | link

Ahh I see, makes sense. Thanks for the help, running smooth now.

-----