WHY did default linux file permissions for ${MATLAB_ROOT}/toolbox/local/pathdef.m change in R2022?
Afficher commentaires plus anciens
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 commentaires
Daniel
le 27 Avr 2023
Is there a possibility that someone manually changed the permissions on that file after installation? My first suggestion would be to reinstall in a sandbox and see if the permissions make sense on a clean install, if you haven't done so already.
jessupj
le 27 Avr 2023
Daniel
le 27 Avr 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.
jessupj
le 28 Avr 2023
Réponses (0)
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!