Can't read external drives
12 views (last 30 days)
Show older comments
Taylor Webb
on 16 May 2024
Commented: Taylor Webb
on 16 May 2024
I receive the following error when trying to read from several external drives.
"ls: /Volumes/Samsung USB/: Operation not permitted"
I receive similar errors when trying to change to a directory on the external drive.
"Unable to change current folder to '/Volumes/Samsung USB'."
The drives are visible in Finder and on Terminal and I can read and write to the drives using other applications. I am running macOS Sonoma version 14.4.1.
0 Comments
Accepted Answer
Walter Roberson
on 16 May 2024
System Preferences --> Privacy & Security --> Full Disk Access
Click on the "+" at the bottom middle . Authenticate. Select /Applications and the appropriate version of MATLAB within that, and click the Open button.
That might get you a message about how "MATLAB_R2024a.app" will not have full disk access until it is quit. Click to quit and restart (provided that all of your work is currently saved at the MATLAB level.)
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!