Okay, now I tried it but got no valuable result:
$ ls -lF /usr/X11R6/include/ | grep / ... drwx------ 104 root wheel 8192 6 Okt 2005 nvu-1.0/ ... $ ls -lF /usr/X11R6/ | grep include/ drwxr-xr-x 76 root wheel 10240 14 Mai 00:07 include/ I am allowed to read the last one, but not the first. Your small program gives me: $ ./doserr /usr/X11R6/include/nvu-1.0/ 18 18 18 $ ./doserr /usr/X11R6/include/ 18 18 18 Back to the think tank again ... Marc _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal