develooper Front page | perl.perl5.porters | Postings from September 2012

[perl #96158] File::Copy needs fixing

Thread Previous
From:
James E Keenan via RT
Date:
September 18, 2012 18:45
Subject:
[perl #96158] File::Copy needs fixing
Message ID:
rt-3.6.HEAD-11172-1348019127-243.96158-15-0@perl.org
On Sat Oct 29 01:03:06 2011, sprout wrote:
> On Wed Aug 03 22:08:59 2011, LAWalsh wrote:
> > Abigail wrote:
> > > In File::Copy 2.15 and later, there's a slight difference between
> 'copy',
> > > and 'cp'. The latter will preserve the permission bits, as the
> system 'cp'
> > > doest. It doesn't preserve timestamps (since a plain 'cp' doesn't
do so
> > > either).
> > ---
> > 	But Why should unix get the worst support when Syscopy on VMS,
> > OS/2, Mac and Win32, all use routines that preserve all the file
> attributes.
> > 
> > 	Why would one choose to do less on unix when the system 'cp'
> > command has the ability to copy everything.
> > 
> > 	Not copying metadata isn't copying the file file.
> > 
> > 	Now if the routine was named File::CopyData, it might be
> > different, but now days, I'd expect a digital copy to be 'precise' and
> > complete.
> > 
> > 	Is there some reason why this shouldn't be the default?
> 
> Probably backward compatibility.
> 
> 

Father C:

Are there any issues remaining to be resolved in this RT?

If not, I propose we close it.

Thank you very much.
Jim Keenan

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=96158

Thread Previous


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