x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Code cannot be executed with root privileges under Linux. Why?

Hi, guys! The first requirement for my architecture is work as root. I try to run dedicated server under Linux, but it crash with message: "Refusing to run with the root privileges." But it works, if I run it as a simple user. Checking in "Engine\Source\Runtime\Core\Private\Linux\LinuxPlatformMemory.cpp:30" is reason of my problem, which does the impossible execution of code with root privileges. Why you didn't leave chances to run my code as root? For example, via command line parameters?

Product Version: UE 4.9
Tags:
more ▼

asked Sep 03 '15 at 08:36 AM in Bug Reports

avatar image

cool-mail
1 1 1 4

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

We used to allow in the past, but this is really risky - we cannot give any guarantees that the code does not wipe your drive or won't be used by malicious third parties to compromise your system. I suggest that instead of running under root, you start the server under a user that has sufficient privileges. However, if you really need root, you can change that line and recompile.

more ▼

answered Sep 03 '15 at 02:36 PM

avatar image

RCL STAFF
2.7k 59 6 88

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question