From f947f8c4b2b6b403eb9617a744004fe00ac60514 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 25 Oct 2007 07:56:54 -0400 Subject: [PATCH] * ikiwiki-mass-rebuild: Patch from HenrikBrixAndersen to fix order of permissions dropping code to work on FreeBSD. --- debian/changelog | 4 +++- ikiwiki-mass-rebuild | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index d5940163e..8cca88780 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Thu, 25 Oct 2007 05:14:58 -0400 + -- Joey Hess Thu, 25 Oct 2007 07:52:43 -0400 ikiwiki (2.10) unstable; urgency=low diff --git a/ikiwiki-mass-rebuild b/ikiwiki-mass-rebuild index 5b6a90b90..fa8bd913d 100755 --- a/ikiwiki-mass-rebuild +++ b/ikiwiki-mass-rebuild @@ -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"; } -- 2.32.0.93.g670b81a890