Today i have one strange things, which causes “rm -rf ” does not work any more.
$ uname -a
SunOS cashaps2 5.10 Generic_118833-24 sun4u sparc
SUNW,Sun-Fire-V440
$ pwd
/11i/appl/fnd/11.5.0/lib
$ rm -rf temp
$ ls -ld temp
drwxrwxrwx 2 apptest1 dba 512 Jul 9 08:52
temp
$ /usr/xpg4/bin/rm -rf temp
rm: cannot determine if this is an ancestor of the current working directory temp
The solution to fix this issue is also unreasonable.
Before fix:
root@cashaps2 # ls -l /11i
total 1042
drwxr-x— 2 root root 512 Jun 29 12:08 11i
Apply the fix :
root@cashaps2 # umount /11i
root@cashaps2 # chmod 777 11i
root@cashaps2 # ls -l /11i
drwxrwxrwx 2 root root 512 Jun 29 12:08 11iAfter change the mount point permission to 777, this problem disappeared.
Advertisement