fix permissions check when file has space in the name
This commit is contained in:
parent
2b43a9cbf5
commit
0f2388b1f2
|
@ -32,6 +32,7 @@ for folder in "${rx_folders[@]}" ; do
|
|||
fi
|
||||
done
|
||||
# Check permissions on files
|
||||
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)"
|
||||
|
|
Loading…
Reference in New Issue