|
|
@ -24,7 +24,6 @@ fn_check_permissions(){ |
|
|
|
if [ -n "${functionsdir}" ]; then |
|
|
|
find "${functionsdir}" -name "*.sh" | while read -r filename; do perm="$(stat -c %a "${filename}")"; shortperm="$(echo "${perm:0:1}")"; |
|
|
|
if [ "${shortperm}" != "7" ]; then |
|
|
|
permissionerror="1" |
|
|
|
fn_print_warn_nl "Warning, permission issues found in ${functionsdir}" |
|
|
|
echo " * Easy fix : chmod -R 755 ${functionsdir}" |
|
|
|
fi |
|
|
|