Commit d68a658d authored by Leigh Stoller's avatar Leigh Stoller

Have to install the gateway setuid nobody so it can read the init

file. Just like the flyspray version.
parent 936fe6b2
......@@ -56,11 +56,16 @@ control-install: \
clean:
rm -f *.o core
$(INSTALL_DIR)/opsdir/sbin/%: %
$(INSTALL_DIR)/opsdir/sbin/tracproxy: tracproxy
@echo "Installing $<"
-mkdir -p $(INSTALL_DIR)/opsdir/sbin
$(INSTALL) $< $@
$(INSTALL_DIR)/opsdir/sbin/email2trac: email2trac
@echo "Installing (setuid nobody) $<"
-mkdir -p $(INSTALL_DIR)/opsdir/sbin
$(SUDO) $(INSTALL) -o nobody -m 4755 $< $@
$(INSTALL_DIR)/opsdir/lib/trac/%: %
@echo "Installing $<"
-mkdir -p $(INSTALL_DIR)/opsdir/lib/trac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment