Chmod: can’t traverse
作者 :OoNiceDream【转载时请务必以超链接形式标明文章原始出处和作者信息】
链接:http://www.dbaroad.me/archives/2009/07/chmod_can_not_traverse.html
链接:http://www.dbaroad.me/archives/2009/07/chmod_can_not_traverse.html
在HP-UX 11.23上升级9207时,修改升级包解压出来的目录的权限时,居然报错:
$ chmod -R 755 * chmod: can't traverse install chmod: can't traverse response chmod: can't traverse stage |
把chmod: can’t traverse作为关键词到Metalink搜了搜,其中一篇Doc ID: 263692.1 也有类似的报错,文章是关于:
10g HP ( HP-UX ) runInstaller (OUI) fails on startup with checkdir error: cannot create /oui/bin/ouica.sh |
原因是UNZIP的版本太低了:
The runInstaller process is picking up the unzip binary from the customers PATH and not in the Disk1/install directory and the customer's version is 5.4 or older, instead of version 5.5. This can be verified by doing `unzip` from any directory and the version is reflected in the header of the help message. |
这次在解压9207 ZIP包的时候,用的是java1.4的jar解压的,会不会跟版本低也有关呢?
hp-test:/opt/java1.4/bin#./java -version java version "1.4.2.15" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.15-070801-16:02) Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.15-070801-21:54-IA64N IA64, mixed mode) |
使用java1.5的jar重新解压,再修改权限,未再报错,挺怪的,Mark一下。
hp-test:/opt/java1.5/bin#./java -version java version "1.5.0.09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.09-_18_aug_2007_07_52) Java HotSpot(TM) Server VM (build 1.5.0.09 jinteg:08.18.07-13:19 IA64, mixed mode) |
— The End —
关键字: Unix | Shell


直接上传个UNZIP程序到/BIN下,加个执行权限就OK,很简单的事,解压也快,如果安装RAC 还要上传到/usr/sbin/下,cluvfy.sh里调用此处的
Reply