Hello again gcc people, Ok, after further testing I find all symbolic links are acting like directories. stat() cannot tell the difference. I'm using slackware linux 2.17. Any ideas? Thanks Danny