Why do I receive a "Permission denied" error when trying to install with the MATLAB Package Manager?
조회 수: 9 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2024년 6월 14일
답변: MathWorks Support Team
2024년 6월 14일
When trying to install MathWorks products with the MATLAB Package Manager (MPM), I encounter an error like the following:
/tmp/path/to/mpm: Permission denied
How can I resolve this error?
채택된 답변
MathWorks Support Team
2024년 6월 14일
When you run MPM, the executable writes data to the temporary directory defined by your machine's TMPDIR environment variable. If this directory is not writable, you will encounter this error.
To avoid this error, pass a different temporary directory to mpm by setting the TMPDIR environment variable to a directory you have write access to. For example:
TMPDIR=~/mytmpdir ./mpm install ...
For more information on modifying environment variables, please see the following support article:
How do I set add or change environment variables?
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Install Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!