WHY did default linux file permissions for ${MATLAB_ROOT}/toolbox/local/pathdef.m change in R2022?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
We have a multiuser linux server install of R2022b and a user recently modified ${MATLAB_ROOT}/toolbox/local/pathdef.m which affected all users. (Easy to fix problems created by someone, but it was unexpected they could change something that deep into the system directory.)
In R2022b and another instance of R2022a I have access to, this file (with $MATLAB_ROOT=/usr/local/MATLAB/R2022b) is owned by root/admin and almost everything is read or read/execute. This file,however, is RW for group and other. In other words, it is modifiable by all users on the system.
In R2021a that we still have installed, this file is read only. Did this slip through the cracks, or was there an intentional change for this?
(I can't think of any good reason for letting any system user alter the pathdef.m systemwide, so i'm curious about WHY.)
classpath.m in the same directory is also read/write across the board.
4 Kommentare
Daniel
am 27 Apr. 2023
In that case, your best bet for a fast solution is probably going to be a manual permissions fix (if you haven't already done that). If you would like, it might be useful to report a bug so the R2022b and R2022a Linux installers can be updated, even though the issue doesn't exist in the latest release.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!