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
macOS是基于Unix的系统,所以默认会存在/home目录,但是/home的所属用户组是wheel,root用户的默认用户组是admin,所以哪怕有root权限还是不能在/home下做一些操作。那么我们该怎么做呢?
# # Automounter master map # +auto_master # Use directory service /net -hosts -nobrowse,hidefromfinder,nosuid # /home auto_home -nobrowse,hidefromfinder //将该行注释掉 /Network/Servers -fstab /- -static
$ cd / //切换到根目录 $ sudo automount // 在根目录下执行
$ sudo mkdir /home/admin
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在mac系统下,如何在/home目录下创建修改文件?
$ cd / //切换到根目录 $ sudo automount // 在根目录下执行
The text was updated successfully, but these errors were encountered: