View Single Post

   
  #1 (permalink)  
Old 01-05-2008, 04:22 AM
mdchachi
 
Posts: n/a
Default broke AIX but how?

I ran the following in /tmp to clean out old files:

find /tmp/. -mtime +30 -prune -type f –exec rm -f {} \;

the next thing I know, major portions of /etc are gone including
rc.d, inittab, groups, resolv.conf, etc. Needless to say it was a long night.

But I don't get it. Even if there were soft links in tmp, find
shouldn't follow them. Can anybody tell me what happened?

Thanks.
Reply With Quote