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
stat.t build tests failing on some Cygwin #15286
Comments
From @jmaslakCreated by @jmaslakThis is a bug report for perl from jmaslak@antelope.net, ----------------------------------------------------------------- t/op/stat.t fails on this environment: ok 88 - unlink tmp file The problem is that Perl is essentually doing (line numbers are from 534 ok(open(F, ">", $tmpfile), 'can create temp file'); Line 536 on Cygwin Windows 10 doesn't operate as would be expected. Here's # I'm an admin, but Win32::IsAdminUser() doesn't detect that because I'm $ id # When I create a file and set it's mode to 077, the mode instead ends $ echo test >test.txt # If I set the mode to 000, I can't. $ chmod 000 test.txt As you can see, chmod 077, at least on my Win 10 machine does let you I think the best way to fix this in the test is probably to skip this The Perl I used for perlbug is not the Perl that is causing issues - Perl Info
|
From @tonycozOn Thu Apr 21 20:25:29 2016, jmaslak@antelope.net wrote:
Works fine here: tony@mimas ~/dev/perl/git/perl tony@mimas ~/dev/perl/git/perl/t tony@mimas ~/dev/perl/git/perl/t tony@mimas ~/dev/perl/git/perl/t tony@mimas ~/dev/perl/git/perl/t This is perl 5, version 24, subversion 0 (v5.24.0-RC2) built for cygwin-thread-multi-64int The user is an admin but not in an admin shell.
I wonder if it's the cloud authentication.
tony@mimas ~/dev/perl/git/perl tony@mimas ~/dev/perl/git/perl tony@mimas ~/dev/perl/git/perl tony@mimas ~/dev/perl/git/perl tony@mimas ~/dev/perl/git/perl tony@mimas ~/dev/perl/git/perl
I test cygwin regularly as a non-admin user (a user who is not a member of administrators.)
perl -V from your cygwin build would have been usefui to see what release of Cygwin you're running. Tony |
The RT System itself - Status changed from 'new' to 'open' |
From @jmaslakHere's my perl -V for a build of perl-5.24.0-RC1 (built without executing Summary of my perl5 (revision 5 version 24 subversion 0) configuration: Platform: Characteristics of this binary (from libperl): PERLBREW_PATH="/home/jmasl/perl5/perlbrew/bin:/home/jmasl/perl5/perlbrew/perls/perl-5.24.0-RC1/bin" /home/jmasl/perl5/perlbrew/perls/perl-5.24.0-RC1/lib/site_perl/5.24.0/cygwin-thread-multi /home/jmasl/perl5/perlbrew/perls/perl-5.24.0-RC1/lib/5.24.0/cygwin-thread-multi |
From @jmaslakSure enough, I created a local user ("testuser") without admin rights and It looks like the issue was that Cygwin was using a fake "jmasl" group for So I have a workaround for this now that works for me. I'll put in a bug |
From Stromeko@nexgo.deJoel Maslak writes:
No, that's what you get from Windows when you use one of their
Perhaps you try the latest Cygwin version first. Regards, SD adaptations for KORG EX-800 and Poly-800MkII V0.9: |
Migrated from rt.perl.org#127953 (status was 'open')
Searchable as RT127953$
The text was updated successfully, but these errors were encountered: