* ikiwiki-mass-rebuild: Patch from HenrikBrixAndersen to fix order
of permissions dropping code to work on FreeBSD.master
parent
799a3968a2
commit
f947f8c4b2
|
@ -16,8 +16,10 @@ ikiwiki (2.11) UNRELEASED; urgency=low
|
||||||
* Add handling of feeds for nested inlines, as well as support for a
|
* Add handling of feeds for nested inlines, as well as support for a
|
||||||
single page containing two different feeds.
|
single page containing two different feeds.
|
||||||
* Also fixed some places in inline that failed to use destpage correctly.
|
* 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
|
ikiwiki (2.10) unstable; urgency=low
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,8 @@ sub processline {
|
||||||
my ($uuid, $ugid) = (getpwnam($user))[2, 3];
|
my ($uuid, $ugid) = (getpwnam($user))[2, 3];
|
||||||
$)="$ugid $ugid";
|
$)="$ugid $ugid";
|
||||||
$(=$ugid;
|
$(=$ugid;
|
||||||
$>=$uuid;
|
|
||||||
$<=$uuid;
|
$<=$uuid;
|
||||||
|
$>=$uuid;
|
||||||
if ($< != $uuid || $> != $uuid || $( != $ugid || $) ne "$ugid $ugid") {
|
if ($< != $uuid || $> != $uuid || $( != $ugid || $) ne "$ugid $ugid") {
|
||||||
die "failed to drop permissions to $user";
|
die "failed to drop permissions to $user";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue