I'm running macOS since several years and I have an
auto_master file that contains my mounts config.
On a new Macbook, I cannot edit this file which is in the
/etc folder and I have the following error:
"auto_master" E212: Can't open file for writing. Note that I had already an
auto_master file that I have deleted I don't know how (I had the same error message when trying to edit it) and that I can create files in the
Any idea how I can fix this issue?
Note: The error I have happens when I run
sudo vim /etc/auto_master then I try to write the file.
sudo touch /etc/test_file and
sudo rm /etc/test_file work fine.