diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-10-25 07:56:54 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-10-25 07:56:54 -0400 |
commit | f947f8c4b2b6b403eb9617a744004fe00ac60514 (patch) | |
tree | 197922f9a690c52de6a4635c1269d63ec63b7f94 /ikiwiki-mass-rebuild | |
parent | 799a3968a2463b7757a546465c7f05a6398869e7 (diff) | |
download | ikiwiki-f947f8c4b2b6b403eb9617a744004fe00ac60514.tar ikiwiki-f947f8c4b2b6b403eb9617a744004fe00ac60514.tar.gz |
* ikiwiki-mass-rebuild: Patch from HenrikBrixAndersen to fix order
of permissions dropping code to work on FreeBSD.
Diffstat (limited to 'ikiwiki-mass-rebuild')
-rwxr-xr-x | ikiwiki-mass-rebuild | 2 |
1 files changed, 1 insertions, 1 deletions
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"; } |