New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File::Copy::syscopy doesn't preserve attrs as intended on Linux #12712
Comments
From perl-diddler@tlinx.orgCreated by perl-diddler@tlinx.orgFile::Copy has a 'syscopy' function that is designed to "preserve However, the linux cp command has had a --preserve option for a couple Given the design intent of syscopy (over a normal copy), it seems negligent, If the above verbiage about 'unix' is not meant to apply to linux and Thanks! Perl Info
|
From @rjbsThanks, either the documentation or the implementation needs to change. Maybe the Thanks for the report. -- |
The RT System itself - Status changed from 'new' to 'open' |
From @rjbsI have re-visited this ticket and had a look at the documentation for syscopy, which reads like File::Copy also provides the "syscopy" routine, which copies the I don't think I have a change to suggest that is worth making. The "For Unix systems" bit is so I worry that considering changing the behavior of syscopy, in the future, is going to make it less Abigail has, if I recall correctly, been recommending just executing `cp -p` for years. I think -- |
From perl-diddler@tlinx.orgOn Thu Sep 05 19:06:15 2013, rjbs wrote:
If you even just wanted to preserve the time, all the platforms except As for changing Unix to be consistent with Mac & Win -- that would seem But that seemed to be the whole point of File::Copy -- to provide an If it does something different for each platform -- especially in not I think the point abagail might be making is that this module is We could change
|
From @rjbs* Linda Walsh via RT <perlbug-followup@perl.org> [2013-09-05T22:41:51]
That's odd, how does Mac gets this different behavior? There is no special [type type type] Actually, this does not appear to be true: /etc$ uname -a
I just don't think this is true. From what I can tell, there are three # &syscopy is an XSUB under OS/2
I feel somewhat uncomfortable with equating the kind of "everything-preserving So by making syscopy start to act like `cp -p`, I don't think we're getting -- |
Migrated from rt.perl.org#116451 (status was 'open')
Searchable as RT116451$
The text was updated successfully, but these errors were encountered: