Added note about an alternative way to fix permissions after this script did not handle mode 700 correctly.

This commit is contained in:
Christoph Niethammer 2019-08-22 15:06:44 +00:00
parent 8a095ccdab
commit ab966cab42

View file

@ -3,7 +3,14 @@
# Script checking the right permissions for software installations: # Script checking the right permissions for software installations:
# Ordinary files must at least have permissions 664 and directories 755. # Ordinary files must at least have permissions 664 and directories 755.
# #
# Copyright (c) 2010-2016 Christoph Niethammer <niethammer@hlrs.de> # Copyright (c) 2010-2019 Christoph Niethammer <niethammer@hlrs.de>
#
#
# TODO: Check replacing most of the logick by
# chmod -R g=u,o=g-w -v *
# Figure out how to do
# * a dry run
# * give statistics at the end
# #
declare -r APP_NAME="${0##*/}" declare -r APP_NAME="${0##*/}"