WHY did default linux file permissions for ${MATLAB_ROOT}/toolbox/local/pathdef.m change in R2022?
8 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Daniel
2023 年 4 月 27 日
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.
回答 (0 件)
参考
カテゴリ
Help Center および File 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!