Too many levels of symbolic links 问题
of too many 问题 levels links
2023-09-14 08:59:34 时间
Too many levels of symbolic links 问题
Posted on 2011-11-30 20:33 张贺 阅读(5826) 评论(0) 编辑 收藏今天弄了个ZendStudio,放在了user下的某个文件夹下,想把执行程序ZendStudio做个链接到/usr/sbin目录下。于是使用命令:
ln -s ./ZendStudio /usr/sbin
可是当执行ZendStudio的时候提示“Too many levels of symbolic links”这个错误,百思不得其解,最后ln一下/usr/sbin/ZendStudio一下,发现问题:
原来/usr/sbin目录下的zendstudio指向的是./ZendStudio,因此,在做ln的时候只要将文件的完整目录写上去即可:
ln -s /usr/local/ZendStudio/ZendStudio /usr/sbin/zendstudio
相关文章
- ROI(Region of Interesting)
- [Javascript] Use an Array of Promises with a For Await Of Loop
- [Algorithm] Finding Prime numbers - Sieve of Eratosthenes
- [TypeScript] Catch unsafe use of "this" in TypeScript functions
- [LeetCode] Intersection of Two Arrays
- The .NET of Tomorrow
- AI:2020年6月21日北京智源大会演讲分享之09:40Judea教授《 The New Science of Cause and Effect with reflections ondata s》
- error::make_unique is not a member of ‘std’
- 解决Data source rejected establishment of connection, message from server: “Too many connections“的错误
- file /usr/share/mysql/charsets/README from install of MySQL-server-5.1.73-1.glibc23.i386 conflicts with file from package mysql-libs-5.1.73-8.el6_8.i686