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

2006-06-28 Thread Marc Santhoff
Okay, now I tried it but got no valuable result: $ ls -lF /usr/X11R6/include/ | grep / ... drwx-- 104 root wheel8192 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 fi

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

2006-06-28 Thread Marc Santhoff
Am Mittwoch, den 28.06.2006, 18:13 +0200 schrieb Tomas Hajny: > Marc Santhoff wrote: > > Am Mittwoch, den 28.06.2006, 11:01 +0200 schrieb Tomas Hajny: > > > >> Which platform are you talking about, which FindFirst/FindNext > >> (Dos/SysUtils) and what is the behaviour expected from you? E.g. with:

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

2006-06-28 Thread Marc Santhoff
Am Mittwoch, den 28.06.2006, 15:57 +0200 schrieb Marc Santhoff: > Am Mittwoch, den 28.06.2006, 11:01 +0200 schrieb Tomas Hajny: > > > Which platform are you talking about, which FindFirst/FindNext > > (Dos/SysUtils) and what is the behaviour expected from you? E.g. with: > > Sorry, I was too deep

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

2006-06-28 Thread Tomas Hajny
Marc Santhoff wrote: > Am Mittwoch, den 28.06.2006, 11:01 +0200 schrieb Tomas Hajny: > >> Which platform are you talking about, which FindFirst/FindNext >> (Dos/SysUtils) and what is the behaviour expected from you? E.g. with: > > Sorry, I was too deep into the problem. > > I'm using FreeBSD as mai

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

2006-06-28 Thread Marc Santhoff
Am Mittwoch, den 28.06.2006, 11:01 +0200 schrieb Tomas Hajny: > Which platform are you talking about, which FindFirst/FindNext > (Dos/SysUtils) and what is the behaviour expected from you? E.g. with: Sorry, I was too deep into the problem. I'm using FreeBSD as main platform for development but f

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

2006-06-28 Thread Tomas Hajny
Marc Santhoff wrote: Hi, > trying to use FindFirst and FindNext on files I cannot detect the > difference between a failed call because of no matching file and a > failure when the file or dir is not listable by the user lacking > permissions. > > If I'd use fpstat and friends myself this would

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

2006-06-27 Thread Marc Santhoff
Hi, trying to use FindFirst and FindNext on files I cannot detect the difference between a failed call because of no matching file and a failure when the file or dir is not listable by the user lacking permissions. If I'd use fpstat and friends myself this would mean doing anything doubly and hav