You're welcome - glad you found it!
And the lesson leared??? ALWAYS examine return codes from ALL system calls, functions, and ALWAYS generate some form if diagnostic (syslog, print to STDERR, etc.). A permissions problem should be detected as soon as an open(2), stat(2), or whatever call fails.
Best of Luck!
MrC
Bookmarks