OpenMandrivaSoftware / steam_xdg_enforcer

Rewrites the paths accessed by Steam into proper ones by using FUSE.
GNU General Public License v3.0
15 stars 0 forks source link

Exit early if a rewritten path overlaps the mount point #3

Open davidebeatrici opened 1 year ago

davidebeatrici commented 1 year ago

Reproducible deadlock:

export STEAM_INSTALL_DIR="/usr/libexec/steam"
export STEAM_DATA_DIR="${HOME}/.local/share/ValveSoftware/Steam"
export STEAM_RUN_DIR="${XDG_RUNTIME_DIR}/.steam"

mkdir -p ${STEAM_RUN_DIR}

steam_xdg_enforcer "${STEAM_RUN_DIR}"

touch "${STEAM_RUN_DIR}/steam.pipe"