On 3/31/14 4:56 AM, Paul wrote:

Q1:
Because my function is related to kernel, root privilege is necessary.
Hence, I got the error message as shown in the following:

root privileges needed to run this function-------
What function are you talking about? Something in Firefox already, or new code that you are adding?


Q2:
By running the function with sudo
sudo ./mach run

Things seem running well.

However, the browser can not be launched and it ended without any notice.
Firefox is not meant to run with root privileges, and I actually thought we checked and refused to launch in that case. I can't find the bug about it now, though. In any case I strongly discourage running Firefox as root.

--BDS

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to