From ef49edd7887c2e334f215ba7b584e1224bf2ab85 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Mon, 8 Mar 2010 22:52:40 -0800 Subject: Bug 374632: A separate script just to fix file/directory permissions r=mkanat, a=mkanat (module owner) --- contrib/fixperms.pl | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 contrib/fixperms.pl (limited to 'contrib/fixperms.pl') diff --git a/contrib/fixperms.pl b/contrib/fixperms.pl new file mode 100644 index 000000000..406c149cb --- /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); -- cgit v1.2.3-24-g4f1b