protonscr

Feature Suggestion: Auto-Casefold

steamopen Feature Request
ValveSoftware/steam-for-linux#8178 · opened 2021-10-25 by cybik · updated 2021-10-25 · 0 comments · github
Ccybik 2021-10-25 github

Your system information

  • Steam client version: Assume latest
  • Distribution: Ubuntu/Pop_OS
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: No

Please describe your issue in as much detail as possible:

Not an issue; I'm offering a suggestion.

On "first client boot", the Steam client could attempt to set the casefold flag on its directory/directories, as illustrated:

for DIR in "${HOME}/.steam" "${HOME}/.local/share/Steam"; do
  chattr +F "${DIR}" 2&>/dev/null || echo "Could not set casefold flag on ${DIR}. This filesystem does not support case insensitivity; flag ignored."
done

As well, creating a new Steam Game "Storage" directory through adding a folder to the installable "targets" (and not finding a steamapps folder) could have this automatic setting.

This needs to happen on directory creation and *explicitely* before any files are created inside the directories, as chattr chokes if there's anything in the directories.

This would fix issues with games and apps that may have file-case-related issues, such as SteamVR Home's inability to reliably (if at all) load and save user "homes" to disk on Linux without casefold active.

Nothing extracted yet.