在Mac的home目录创建prod目录时提示: Operation not supported
后在网上查了一下,是Mac的设计初衷不让修改home目录,但也有解决方案。
sudo vim /etc/auto_master
before:
# Automounter master map
+auto_master # Use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
/Network/Servers -fstab
/- -static
after:
# Automounter master map
+auto_master # Use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
#/home auto_home -nobrowse,hidefromfinder
/Network/Servers -fstab
/- -static
to have the change take effect without a reboot:
sudo automount
本文介绍了解决Mac系统中home目录无法创建文件夹的问题。通过修改auto_master配置文件,允许用户在home目录下进行文件操作。
5530

被折叠的 条评论
为什么被折叠?



