User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0 Build ID: 20150228082829 Steps to reproduce: Built the devel version using ./mach build in mozilla-central directory of hg repository. Then ./mach install to put result in /usr/local Actual results: The directory /usr/local/lib/firefox-39.0a1 was created. Quibble, it should have been /usr/local/lib64/firefox-39.0a1. But, even though I was root running the install, it installed everything as my user id, and with blank permissions for group and other. When I tried to run it, I couldn't access required libraries. Expected results: It should have installed as root, and put in r-xr-x for directories and executables, and r--r-- for non executables for group and other. This can be worked around by running chown -R root:root /usr/local/lib/firefox-39.0a1 chmod -R go+u /usr/local/lib/firefox-39.0a1 chmod -R go-w /usr/local/lib/firefox-39.0a1
With version 40 of nightly this created the directories under lib64 and gave them root permissions. I didn't think to check the permissions, I'll check when 41 comes out.
This is mostly working in 41. The directories created are under /usr/local/lib64 now, and I've modified the above workaround to be chown -R root:root * chcon -u system_u * chmod -R go+u * chmod -R go-w * from pwd of /usr/local, and just automatically perform it as part of the ./mach install by root. Haven't had any problems.