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?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 4:12 PM To: [EMAIL PROTECTED] Subject: File::Find on Win32 -- Directory Permissions Denied I am trying to use File::Find module on Win NT 4.0 with Activestate Perl to find the directory sizes on a network share drive. If the individual directories are protected by Windows NTFS permissions, the File::Find module throws a warning message on STDOUT saying "Can't opendir(Z:/blahblah): Invalid Argument". I have two questions here. a) I am using formats and would like to output this information to a format handle rather than the default STDOUT. IS there a way to do it via File::Find? b) How would I detect those directories which cannot be opened in a Win32 OS? (-r, -R etc did not work for me). Am I missing an obvious thing, here? Thanks, Rex _____________________________________________________________________ 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. ____________________________________________________________________ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]