possible dir? bug
[1/2] from: rsnell:webtrends at: 13-Sep-2000 15:32
Under NT4, I have a mapped drive u: that contains
some directories that I have no permission to view
the contents of - but can see that they are there and
view properties about the directory from a file manager.
Problem:
>> dir? %/u/employees/ksmith/
** Access Error: Cannot open /u/employees/ksmith/.
** Where: dir? %/u/employees/ksmith/
Because of the way dir? works, I guess. This kind of seems
like a bug (and I have CC'd feedback) since the fact is that
%/u/employees/ksmith/ IS a valid directory. Of course, a
'read or 'open on this directory should give an access error.
I believe that in my case a workaround is to just check for
a trailing slash since I am iterating through a list of files
obtained from 'read.
Even if RT does not view this as a bug, the documentation should
state this side effect and recommend workarounds. Not sure
if the behavior is the same under *NIX.
Thanks,
Rodney
[2/2] from: ptretter::charter::net at: 14-Sep-2000 8:09
Check the event log security log and see what credentials were passed.