|
|
发表于 2006-9-29 19:27:16
|
显示全部楼层
the latest releases of Linux distributions incorporate the mandatory access control architecture SELinux of the NSA into the Linux kernels. More information on SELinux can be found at the following link:
http://www.nsa.gov/selinux/info/faq.cfm
If you receive the error message Cannot restore segment prot after reloc: Permission denied when launching Mathematica, this means the SELinux policy is enforced and the security context of Mathematica libraries is not properly set. To correct this issue, you will need to change the security context by running the following command. You will need to be logged on as root in order to do so.
chcon -c -v -R -u system_u -r object_r -t lib_t $InstallationDirectory/SystemFiles/Libraries/
Here $InstallationDirectory is the top level directory in which your Mathematica installation. The default value of $InstallationDirectory is /usr/local/Wolfram/Mathematica/5.2 for Mathematica 5.2 |
|