Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Have matchmaker ask for authentication instead of erroring out with EACCESS #333

Merged
merged 2 commits into from Jul 27, 2023

Conversation

StomyPX
Copy link
Collaborator

@StomyPX StomyPX commented Jul 26, 2023

Also added executable flags to bash scripts for SFU and Matchmaker.

Relevant components:

  • Signalling server
  • Frontend library
  • Frontend UI library
  • Matchmaker
  • Platform scripts
  • SFU

Problem statement:

Unlike the SFU and Signalling Server, the Matchmaker errors out when not run with superuser permissions.

Solution

Modified the Matchmaker to ask for privileges the same way that the SFU and Signalling Server do. Also added executable permissions to all the SFU and Matchmaker bash scripts to make them immediately useful the way the Signalling Server scripts are.

Test Plan and Compatibility

I've confirmed that it works on Linux, somebody should try it out on Windows to make sure there aren't any typos or anything. But otherwise it looks more or less like how the SFU and Signalling Server do it so everything should be good.

StomyPX added a commit to StomyPX/PixelStreamingInfrastructure that referenced this pull request Jul 26, 2023
@Belchy06 Belchy06 changed the title Have matchmaker ask for authentication instead of erroring out with EACCES Have matchmaker ask for authentication instead of erroring out with EACCESS Jul 27, 2023
@Belchy06 Belchy06 merged commit 11387d6 into EpicGames:master Jul 27, 2023
@StomyPX StomyPX deleted the bash_exec_and_sudo branch July 27, 2023 00:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants