noexec check for /home expanded (thx Alexander Kovalev)

This commit is contained in:
Mikhail Tergoev 2025-05-26 10:28:29 +03:00
parent 052a07a42b
commit 8774a8b34d

View File

@ -93,7 +93,7 @@ check_variables VKD3D_VER "1.1-2602"
export CLOUD_URL="https://cloud.linux-gaming.ru/portproton"
##### CHECK NOEXEC FOR /HOME #####
if grep -E "/home[[:space:]]" /etc/fstab | grep -q "noexec" ; then
if mount -l | grep -E "[[:space:]]/home[[:space:]]" | grep -q "noexec" ; then
fatal "/home примонтирован в /etc/fstab с аргументом noexec.\nЗапуск портативной версии wine не возможен из домашнего каталога."
fi