| 1 |
Description: Fix spelling errors in the perldoc |
| 2 |
Fix a few spelling errors in the perldoc of Privileges::Drop. |
| 3 |
Author: Michael Stapelberg <[email protected]> |
| 4 |
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=75669 |
| 5 |
Last-Updated: 2012-03-10 |
| 6 |
|
| 7 |
--- libprivileges-drop-perl-1.03.orig/lib/Privileges/Drop.pm |
| 8 |
+++ libprivileges-drop-perl-1.03/lib/Privileges/Drop.pm |
| 9 |
@@ -29,7 +29,7 @@ this, currently only test on on Linux. |
| 10 |
drop_uidgid(1000, 1000); |
| 11 |
|
| 12 |
# Drop privileges to user nobody looking up gid and uid with getpwname |
| 13 |
- # This also set the enviroment variables USER, LOGNAME, HOME and SHELL. |
| 14 |
+ # This also set the environment variables USER, LOGNAME, HOME and SHELL. |
| 15 |
drop_privileges('nobody'); |
| 16 |
|
| 17 |
=head1 METHODS |
| 18 |
@@ -155,7 +155,7 @@ sub drop_privileges { |
| 19 |
|
| 20 |
=head1 NOTES |
| 21 |
|
| 22 |
-As this module only uses Perl's build in function, it relies on them to work |
| 23 |
+As this module only uses Perl's built-in functions, it relies on them to work |
| 24 |
correctly. That means setting $GID and $EGID should also call setgroups(), |
| 25 |
something that might not have been the case before Perl 5.004. So if you are |
| 26 |
running an older version, Proc::UID might be a better choice. |