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
perltest lib/file/copy not correct; #13724
Comments
From perl-diddler@tlinx.orgCreated by perl-diddler@tlinx.org--- in runing the perl tests, ran into this: lib/File/Copy ................................................. # Failed test 'Permission bits set correctly' The test doesn't take into account default the default I'm not sure where the parent directory is, but the parent directory A similar bug that I suggested an easy fix for is described https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6994 Perl Info
|
From @tonycozOn Wed Apr 09 06:15:07 2014, LAWalsh wrote:
That fix would need to be limited to Linux and FreeBSD. I checked the following: Darwin (12.5.0) - no chacl or setfacl, a google turned up setfacl but that doesn't appear to be present. The system does however support ACLs. Solaris (5.11) - setfacl exists but doesn't support a -b switch FreeBSD (9.1) - setfacl is present and supports -b Cygwin (1.7.28(0.271/5/3)) - setfacl exists but doesn't support -b. OpenBSD (5.4) - no chacl or setfacl. Windows (7.0) - no chacl or setfacl (does have cacls and icacls) Tony |
The RT System itself - Status changed from 'new' to 'open' |
From perl@profvince.com
On darwin 13.1.0 (Mac OS X 10.9.2), it looks like ACLs can be Vincent |
From perl-diddler@tlinx.orgOn Wed Apr 09 18:42:29 2014, tonyc wrote:
That's better than no patch. I don't have experience or I would suspect that you don't do the same file Specifically, the other systems copy routines (windows, only the *nix tests don't copy the entire file. I have filed a bug against the linux version of File::Copy As I stated in the SA bug, if those utils fail, then |
From @TuxOn Wed, 9 Apr 2014 18:42:29 -0700, "Tony Cook via RT"
You *do* have an HP-UX account :) -- |
From perl-diddler@tlinx.orgFWIW, in a "meta" type way, this could be thought of as related to: #116451: File::Copy::syscopy doesn't preserve attrs as intended on Linux Meaning, that if 116451 was fixed by using code from coreutils "cp" program, it would *probably* (can't say with 100% certainty) fix this bug as well. In this bug, a directory-default ACL is overriding local file permissions. In 116451, the file-copy for linux is least likely correctly copy the file's meta information (apparently other implementations use the equivalent of 'cp'... |
Migrated from rt.perl.org#121612 (status was 'open')
Searchable as RT121612$
The text was updated successfully, but these errors were encountered: