develooper Front page | perl.vmsperl | Postings from January 2002

Re: Privileges won't let me "opendir"?

From:
Dan Sugalski
Date:
January 30, 2002 11:02
Subject:
Re: Privileges won't let me "opendir"?
Message ID:
a05101408b87df4a428ec@[63.120.19.220]
At 11:55 AM -0600 1/30/02, Craig A. Berry wrote:
>So there may well be 2 bugs here, one related to getting the wrong error
>when we don't have privileges and one related to not getting access when we
>do have privs.  It appears not to be opendir per se, but the access checking
>routine, this based on the fact that the directory is not considered
>readable even when BYPASS is enabled:

I think it's stat()'s fault. Try throwing something similar together 
in C and see if it has the same behavior. (Stat's been a problem with 
other things in the past)
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About