Mac computer cannot create a folder (/data) in the root directory

The perfect solution: to
achieve arbitrary read and write in the new file directory in big sur. (For example, add a /data directory) Source of the answer: Cannot create /data in the root directory under macOS BigSur Solution​blog.csdn.net First create a readable and writable directory in the home directory, such as /Users/zc/datasudo vim /etc/synthetic.conf Add a line to the synthetic.conf file (Note: /Users/zc/data is a readable and writable directory created by you, which can be customized. It is used as the directory where /data is actually stored. Restart Then a soft link of /data will be created, pointing to /Users/zc/data)data. The separator in the middle of /Users/zc/data must be tab3. Restart the server.

Thanks for knowing brother! ! ! ! !

Author: Li Zhe exercise
link: https: //www.zhihu.com/question/403361335/answer/1660493748
Source: know almost
copyrighted by the author. For commercial reprints, please contact the author for authorization, and for non-commercial reprints, please indicate the source.

Guess you like

Origin blog.csdn.net/AvrilLavigne946/article/details/115002198