[fpc-pascal] findfirst and findnext on non accessible files

Marc Santhoff M.Santhoff at t-online.de
Wed Jun 28 18:53:52 CEST 2006


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




More information about the fpc-pascal mailing list