* ikiwiki-mass-rebuild: Patch from HenrikBrixAndersen to fix order

of permissions dropping code to work on FreeBSD.
master
Joey Hess 2007-10-25 07:56:54 -04:00
parent 799a3968a2
commit f947f8c4b2
2 changed files with 4 additions and 2 deletions

4
debian/changelog vendored
View File

@ -16,8 +16,10 @@ ikiwiki (2.11) UNRELEASED; urgency=low
* Add handling of feeds for nested inlines, as well as support for a
single page containing two different feeds.
* Also fixed some places in inline that failed to use destpage correctly.
* ikiwiki-mass-rebuild: Patch from HenrikBrixAndersen to fix order
of permissions dropping code to work on FreeBSD.
-- Joey Hess <joeyh@debian.org> Thu, 25 Oct 2007 05:14:58 -0400
-- Joey Hess <joeyh@debian.org> Thu, 25 Oct 2007 07:52:43 -0400
ikiwiki (2.10) unstable; urgency=low

View File

@ -22,8 +22,8 @@ sub processline {
my ($uuid, $ugid) = (getpwnam($user))[2, 3];
$)="$ugid $ugid";
$(=$ugid;
$>=$uuid;
$<=$uuid;
$>=$uuid;
if ($< != $uuid || $> != $uuid || $( != $ugid || $) ne "$ugid $ugid") {
die "failed to drop permissions to $user";
}