Skip to content
Snippets Groups Projects
Commit 9d7de6bb authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't set/reset ownership of files if Linux setcap was used

'chown' resets Linux capabilities (e.g. cap_net_bind_service=ep), so these
calls reset the earlier bind-capabilities enablement, meaning the auto-setup
feature on Linux-install really never worked?
parent 23513871
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -237,8 +237,10 @@ ifdef USE_GLADE
endif
$(INSBIN) $(REPODIR)/src/sbbs3/syncview/$(CCPRE).$(machine).exe.$(BUILDPATH)/syncview $(SBBSDIR)/exec/syncview
$(INSBIN) $(REPODIR)/src/sexpots/$(CCPRE).$(machine).exe.$(BUILDPATH)/sexpots $(SBBSDIR)/exec/sexpots
ifndef SETCAP
-chown -R $(SBBSCHOWN) $(SBBSDIR)
-chown -h $(SBBSCHOWN) $(SBBSDIR)/exec/*
endif
$(REPODIR):
git clone https://gitlab.com/SynchronetBBS/sbbs.git $(REPODIR) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment