mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-23 17:08:36 +00:00
fix IFS checking permissions
This commit is contained in:
parent
e55928a37b
commit
5690a58ab9
1 changed files with 1 additions and 1 deletions
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue