mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-21 18:44:14 -04:00
let lsiown ignore broken symlinks
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ create_lsiown_alias() {
|
|||||||
|
|
||||||
ERROR='**** Permissions could not be set. This is probably because your volume mounts are remote or read-only. ****\n**** The app may not work properly and we will not provide support for it. ****\n'
|
ERROR='**** Permissions could not be set. This is probably because your volume mounts are remote or read-only. ****\n**** The app may not work properly and we will not provide support for it. ****\n'
|
||||||
PATH=("${@:2}")
|
PATH=("${@:2}")
|
||||||
/usr/bin/find "${PATH[@]}" "${MAXDEPTH[@]}" \( ! -group "${GROUP}" -o ! -user "${USER}" \) -exec chown "${OPTIONS[@]}" "${USER}":"${GROUP}" {} + || printf "${ERROR}"
|
/usr/bin/find "${PATH[@]}" "${MAXDEPTH[@]}" ! -xtype l \( ! -group "${GROUP}" -o ! -user "${USER}" \) -exec chown "${OPTIONS[@]}" "${USER}":"${GROUP}" {} + || printf "${ERROR}"
|
||||||
EOF
|
EOF
|
||||||
chmod +x /usr/bin/lsiown
|
chmod +x /usr/bin/lsiown
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user