免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123
最近访问板块 发新帖
楼主: beginner-bj
打印 上一主题 下一主题

关于-rwxr--r-l [复制链接]

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
21 [报告]
发表于 2003-07-03 12:55 |只看该作者

关于-rwxr--r-l

  1. bash-2.03# rm file?
  2. bash-2.03# ln -s ./export/home file8
  3. bash-2.03# ls -l file8
  4. lrwxrwxrwx   1 root     other         13 Jul  2 21:48 file8 ->; ./export/home
  5. bash-2.03# chmod 744 file8
  6. bash-2.03# ls -l file8
  7. lrwxrwxrwx   1 root     other         13 Jul  2 21:48 file8 ->; ./export/home
  8. bash-2.03#
复制代码


file8还是不对,能否让它的属性变为lrwxr--r--

file7就不管了,估计是印错了。

论坛徽章:
0
22 [报告]
发表于 2003-07-03 13:12 |只看该作者

关于-rwxr--r-l

man ls
……………………
/usr/bin/ls      
l
mandatory locking occurs during access (the setgid is on and the grpexe is off)
……………………

论坛徽章:
0
23 [报告]
发表于 2003-07-18 03:22 |只看该作者

关于-rwxr--r-l

file7 must be a typo and file8 is a symbolic link. To make file8, do "ln -s /export/home file8".

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
24 [报告]
发表于 2003-07-18 08:20 |只看该作者

关于-rwxr--r-l

原帖由 "beginner-bj" 发表:

file8还是不对,能否让它的属性变为lrwxr--r--
   

我不要lrwxrwxrwx ,就要lrwxr--r--

论坛徽章:
0
25 [报告]
发表于 2003-07-18 08:44 |只看该作者

关于-rwxr--r-l

等答案吧!等等。。。。。。

论坛徽章:
0
26 [报告]
发表于 2003-07-18 08:50 |只看该作者

关于-rwxr--r-l

我也UP,这个File7搞明白也能学点东西了。

论坛徽章:
0
27 [报告]
发表于 2006-07-28 09:18 |只看该作者
为何我用了ln 时,它总是提示我在不同的文件系统,后来用软连接(加 -s)。我的源文件变成了乱码?有没有遇到过这个问题呀?急呀!

论坛徽章:
0
28 [报告]
发表于 2006-07-28 09:28 |只看该作者
原帖由 iexiaoer 于 2006-7-28 09:18 发表
为何我用了ln 时,它总是提示我在不同的文件系统,后来用软连接(加 -s)。我的源文件变成了乱码?有没有遇到过这个问题呀?急呀!



soft link cannot cross file systems, and cannot be linked to a directory.

hard link: ln -s Source Destination

Source is an existing file or directory.
Destination should not exist before "ln -s".

论坛徽章:
0
29 [报告]
发表于 2006-07-28 09:33 |只看该作者
-rwxr--r-l



Does it really exist in a system? If not, I guess it's a mistake. Never see such permission before.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP