Solutions
-
jpma's post in Tenho que dar permissao toda vez que inicia o servidor was marked as the answerConsegui resolvendo excluindo essa parte e dps compilando novamente...obrigado
#if !defined(WINDOWS) && !defined(__ROOT_PERMISSION__)
if(!getuid() || !geteuid())
{
std::clog << "> WARNING: " "The " << SOFTWARE_NAME << " has been executed as super user! It is "
<< "recommended to run as a normal user." << std::endl << "Continue? (y/N)" << std::endl;
char buffer = OTSYS_getch();
if(buffer != 121 && buffer != 89)
startupErrorMessage("Aborted.");
}
#endif