Why do I receive /tmp permissions issues when installing MathWorks Products on Linux?

조회 수: 6 (최근 30일)
Why do I receive permission errors about /tmp when installing MATLAB on Linux? I get errors like these:
./mpm: line 22: /tmp/mathworks_14473/./bin/glnxa64/mpm: Permission denied
ERROR: ld.so: object '/tmp/mathworks_14474/bin/glnxa64/glibc-2.17_shim.so' from LD_PRELOAD cannot be preloaded: ignored.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2023년 1월 11일
편집: MathWorks Support Team 2023년 1월 11일
This could be caused by a few things:
  1. The user trying to install MathWorks Products does not have permission to modify the folder.
  2. Security software such as SELinux is preventing the user from having full permissions on /tmp and the folder where MATLAB is attempting to be installed.
  3. The /tmp folder is mounted with the noexec option.
The third situation is easy to detect and work around for the duration of the installation:
  1. Check the output from mount to see whether there’s a /tmp mount (mount | grep tmp)
  2. If there is, check whether it has the noexec option set.
  3. If it has that option, remount it with exec. It’ll go back to the way it was on the next reboot. (sudo mount -o remount,exec /tmp)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by