This is what I found in ActiveState Doc concerning File::Copy:
Special behaviour if syscopy is defined (OS/2, VMS and Win32)
If both arguments to copy are not file handles, then copy will perform a ``system
copy'' of the input file to a new output file, in order to preserve file attributes,
indexed file structure, etc. The buffer size parameter is ignored. If either argument
to copy is a handle to an opened file, then data is copied using Perl operators, and
no effort is made to preserve file attributes or record structure.
So if you are on any of the three systems above andyou are NOT doing file
handles, then the files should have the same file permissions. If you are on something
else, then someone on the list may have what you need.
Wags ;)
-----Original Message-----
From: Larry Guest [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 16:39
To: [EMAIL PROTECTED]
Subject: File::Copy
Anyone know how to get File::Copy module to keep file permissions when
it copies from one location to another?
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
**********************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
****************************************************************
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>