We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
从Catalina开始 macOS的根目录变成了只读,root权限也无法创建目录。 网上有个流传较多的方法,关闭sip后,重新mount根目录。不过这个方式从 Big Sur后无效了。
Catalina
Big Sur
目前正统的方式,是通过配置synthetic.conf文件,可以从根目录symlink一个同名目录到用户目录,方式如下:
synthetic.conf
cd /etc/
sudo touch synthetic.conf
data Users/YourUserName/data
cd /
The text was updated successfully, but these errors were encountered:
No branches or pull requests
现状
从
Catalina
开始 macOS的根目录变成了只读,root权限也无法创建目录。网上有个流传较多的方法,关闭sip后,重新mount根目录。不过这个方式从
Big Sur
后无效了。解决方法
目前正统的方式,是通过配置
synthetic.conf
文件,可以从根目录symlink一个同名目录到用户目录,方式如下:cd /etc/
sudo touch synthetic.conf
data Users/YourUserName/data
(注意使用tab分隔kv),即在你的用户目录下,创建一个data目录,那么在根目录会生成一个同名的data目录,并symlink两者cd /
看看文件夹是否存在参考
The text was updated successfully, but these errors were encountered: