fix IFS checking permissions

This commit is contained in:
florian 2022-06-26 12:25:33 +02:00
parent e55928a37b
commit 5690a58ab9
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ for folder in "${rx_folders[@]}" ; do
fi
done
# Check permissions on files
IFS="\n"
IFS=$'\n'
for file in $(find /data -type f) ; do
if [ ! -r "${file}" ] ; then
log "$1" "❌" "Wrong permissions on ${file} (at least R needed for user nginx with uid 101 and gid 101)"