I was using server loosely.  The machine it is running from has to be
logged on as something, right, (like our servers would have a logon
similar to "productionMachine" or whatever).  The first step I would
take is to check this, it shouldn't require a work around.
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 4:46 PM
To: McCollum, Frank; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: File::Find on Win32 -- Directory Permissions Denied



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]
<mailto:[EMAIL PROTECTED]> ] 
> Sent: Wednesday, January 30, 2002 4:41 PM 
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED] 
> Subject: RE: File::Find <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? 
> 
> 
> 



_____________________________________________________________________ 
IMPORTANT NOTICES: 
This message is intended only for the addressee. Please notify the
sender by e-mail if you are not the intended recipient. If you are not
the
intended recipient, you may not copy, disclose, or distribute this
message
or its contents to any other person and any such actions may be
unlawful.

Banc of America Securities LLC("BAS") does not accept time
sensitive, action-oriented messages or transaction orders, including
orders
to purchase or sell securities, via e-mail.

BAS reserves the right to monitor and review the content of all
messages sent to or from this e-mail address. Messages sent to or from
this
e-mail address may be stored on the BAS e-mail system.

____________________________________________________________________

Reply via email to