I tried fd_server from cean to run yaws on port 80, but I got this trying to start yaws:
sh: line 1: /Users/rsaccon/cean/erlang/lib/fd_server-2.3.0/priv/darwin-x86/fdsrv: cannot execute binary file
sh: line 1: /Users/rsaccon/cean/erlang/lib/fd_server-2.3.0/priv/darwin-x86/fdsrv: Unknown error: 0
With non-cean fd-server I always had to “make install” as root. How do I get the cean version to work ?
Update:
I also tried to set suid bit manually on the generated c binaries, but result when starting yaws was the same.
Update 2:
the problem seems to exist on mac OSX, on Ubuntu Feisty I just set manually the suid bit for fdsrv:
# chown -v root fdsrv
# chmod -v u+s fdsrv
and then it worked.
Of course such a packages is not maintainable anymore, anybody knows a better way to deal with it ?
