From: Max Kanat-Alexander Date: Tue, 9 Mar 2010 06:53:37 +0000 (-0800) Subject: Bug 374632: A separate script just to fix file/directory permissions X-Git-Tag: bugzilla-3.4.7~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cef681e214cf2ef1eb60e18d71c54eb2367ed398;p=thirdparty%2Fbugzilla.git Bug 374632: A separate script just to fix file/directory permissions r=mkanat, a=mkanat (module owner) --- diff --git a/contrib/fixperms.pl b/contrib/fixperms.pl new file mode 100644 index 0000000000..406c149cbd --- /dev/null +++ b/contrib/fixperms.pl @@ -0,0 +1,28 @@ +#!/usr/bin/perl -w +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is the Bugzilla Bug Tracking System. +# +# The Initial Developer of the Original Code is Everything Solved, Inc. +# Portions created by the Initial Developer are Copyright (C) 2010 the +# Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Max Kanat-Alexander + +use strict; +use warnings; +use lib qw(. lib); + +use Bugzilla; +use Bugzilla::Install::Filesystem qw(fix_all_file_permissions); +fix_all_file_permissions(1);