Correct 'cst-grant.sh' and add check for 'core.filemode'