无法为“/ Users”创建符号链接


0

我想为/ Users创建/ home的符号链接。所以我试着执行ln -s \Users \home。这给了我错误ln: /home/Users: Operation not supported

有什么办法吗?

谢谢

Answers:


1

以root身份执行,并使用正斜杠:

$ ln -s /Users /home
$ ls -ld /Users /home
drwxr-xr-x  6 root  admin  204 Apr  8  2014 /Users
lrwxrwxr-x  1 root  wheel    6 Sep 17 15:49 /home -> /Users
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.