Trying to set this up on Ubuntu 16.04 but the build fails.

I’ve set UE4 up before without issue but today this happened



Total build time: 236.25 seconds
Parsing headers for CrashReportClient
Running UnrealHeaderTool CrashReportClient "/home/'username'/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -NoEnginePlugins
Refusing to run with the root privileges.
Error: Failed to generate code for CrashReportClient - error code: CrashOrAssert (3)
UnrealHeaderTool failed for target 'CrashReportClient' (platform: Linux, module info: /home/'username'/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest).
Makefile:252: recipe for target 'CrashReportClient-Linux-Shipping' failed
make: *** [CrashReportClient-Linux-Shipping] Error 3


I followed the instructions here A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums
I also looked at the native build readme file and it was the same, I looked around the forums and saw simillar issues but none of the work aorunds listed helpped.

It says that it’s refusing to run with root privileges but I made sure that I had full access to the files so I’m at a loss as to why this is happening any help would be awesome.

From what its saying, it doesn’t want root access.

Have you tried building/running it as a less privileged user?

The issue is now resolved I don’t know why it didn’t let me do this before as a regular user but it works now lol, thanks for the help