develooper Front page | perl.perl5.porters | Postings from June 2019

[perl #134195] [PATCH] setgroups() regression in perl 5.30

Thread Previous | Thread Next
From:
Hugo van der Sanden via RT
Date:
June 15, 2019 02:12
Subject:
[perl #134195] [PATCH] setgroups() regression in perl 5.30
Message ID:
rt-4.0.24-2553-1560564480-172.134195-15-0@perl.org
On Fri, 14 Jun 2019 15:10:01 -0700, jkeenan wrote:
> Operation not permitted

You need to be root, or otherwise privileged.

As root, I can reproduce it here:
# /opt/v5.28.1/bin/perl -wle '$) = "2 2"; print $!; print $)'

2 2
# /opt/v5.30.0/bin/perl -wle '$) = "2 2"; print $!; print $)'
Invalid argument
2 0
#

Of course that makes it difficult to spot bugs like this from the testsuite. :(

Hugo

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

Thread Previous | Thread Next


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