The script is not intended to run on an internet(server) environment. It is supposed to run as a stand-alone script from one of the machines (trusted) in the domain. All that I was hoping for, is a way to check whether I am able to read a directory and if so calculate the sizes of the directories beneath it and if for some reason,I am not able to read a directory; then just output the error message -- to the output file and not to STDOUT.
I will try out Nikola's suggestion of swapping the STDERR handles. I was just wondering if there is a straight-forward method in Perl for Win32 systems to see, if I have "access" (at least READ) to a particular directory protected by NTFS. Thanks, Rex > -----Original Message----- > From: McCollum, Frank [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 30, 2002 4:41 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: File::Find on Win32 -- Directory Permissions Denied > > > I do not see that problem as long as 'I' (read user) have > permission. You > can always use the CACLS Windows system command to change > permissions, but > there is usually a good reason not to. Is the perl script running on a > server? Does the server have permission to be in the folder? > > >