1.1 --- a/tools/fix.sh Mon Dec 19 23:39:20 2016 +0100
1.2 +++ b/tools/fix.sh Tue Dec 20 15:55:29 2016 +0100
1.3 @@ -1,5 +1,24 @@
1.4 #!/bin/sh
1.5
1.6 +# This tool fixes permissions on data stores and published data, making sure
1.7 +# that the imip-agent can update the directories involved and that the
1.8 +# permissions persist.
1.9 +#
1.10 +# Copyright (C) 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.11 +#
1.12 +# This program is free software; you can redistribute it and/or modify it under
1.13 +# the terms of the GNU General Public License as published by the Free Software
1.14 +# Foundation; either version 3 of the License, or (at your option) any later
1.15 +# version.
1.16 +#
1.17 +# This program is distributed in the hope that it will be useful, but WITHOUT
1.18 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
1.19 +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
1.20 +# details.
1.21 +#
1.22 +# You should have received a copy of the GNU General Public License along with
1.23 +# this program. If not, see <http://www.gnu.org/licenses/>.
1.24 +
1.25 DIRNAME=`dirname "$0"`
1.26
1.27 if [ -e "$DIRNAME/config.sh" ]; then