Chinaunix

标题: APUE上说“只有超级用户才能创建到目录的硬链接”,这句是不是错的? [打印本页]

作者: 20040925    时间: 2009-09-17 16:47
标题: APUE上说“只有超级用户才能创建到目录的硬链接”,这句是不是错的?
APUE上说“只有超级用户才能创建到目录的硬链接”,这句是不是错的?
作者: DreamAndLove    时间: 2009-09-18 12:52
正确!
作者: 20040925    时间: 2009-09-18 15:39
我怎么创建不了啊?贴命令给我看看
作者: marsaber    时间: 2009-09-18 20:44
原帖由 DreamAndLove 于 2009-9-18 12:52 发表
正确!

你能,你是root他爹。
作者: marsaber    时间: 2009-09-18 20:45
原帖由 20040925 于 2009-9-17 16:47 发表
APUE上说“只有超级用户才能创建到目录的硬链接”,这句是不是错的?

是错的。
root也无法创建硬链接。
作者: teczm    时间: 2009-09-19 08:19
原帖由 DreamAndLove 于 2009-9-18 12:52 发表
正确!

试过了?
截图为证!
不要天马行空。
作者: Celinde    时间: 2009-09-19 08:52

  1. allow the superuser to attempt to hard link  directories  (note:
  2. will  probably  fail  due  to  system restrictions, even for the
  3. superuser)
复制代码


不要断章取义
作者: teczm    时间: 2009-09-19 09:22
标题: 回复 #7 Celinde 的帖子
姐姐,你来了啊。
作者: kns1024wh    时间: 2009-09-29 21:31
标题: 回复 #1 20040925 的帖子
有疑问么
作者: vermouth    时间: 2009-09-30 09:59
目录可以硬链接?
作者: me_single    时间: 2009-09-30 10:17
受教!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2