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
$*USER and $*GROUP don't update when uid/gid change #4728
Comments
From @cspencerI recently committed the starts of a POSIX module to the p6 ecosystem and noticed that when using the POSIX::setuid and POSIX::setgid function calls, the I have attached a sample program demonstrating this below. Note that the program must be run as root. Here is the output on my machine: ~$ sudo perl6 ./uid-gid.p6 POSIX::getuid reports UID as: 0 Dropping privileges to 'nobody' user... Privileges dropped. $*USER reports UID as: 0 POSIX::getuid reports UID as: 65534 |
From @cspencer |
From @lizmat
The default implementation of I recommend that the POSIX module installs its own version of PROCESS::<$USER> := POSIX::getuid; My advise: ENOTABUG, can be closed. Liz |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#126560 (status was 'open')
Searchable as RT126560$
The text was updated successfully, but these errors were encountered: