Skip to content

steampipe_fixups: skip missing no_write_paths entries#9834

Open
danyalahmed1995 wants to merge 1 commit into
ValveSoftware:proton_11.0from
danyalahmed1995:investigate-steampipe-fixups-9746
Open

steampipe_fixups: skip missing no_write_paths entries#9834
danyalahmed1995 wants to merge 1 commit into
ValveSoftware:proton_11.0from
danyalahmed1995:investigate-steampipe-fixups-9746

Conversation

@danyalahmed1995
Copy link
Copy Markdown

Summary

steampipe_fixups.do_restore() currently assumes every no_write_paths entry from steampipe_fixups.json still exists. If one of those files is missing, restore fails with FileNotFoundError before Proton can launch.

This skips missing no_write_paths entries during restore, while still applying the chmod behavior to files that do exist.

For #9746.

Testing

  • Reproduced the FileNotFoundError with a minimal manifest containing a missing no_write_paths entry.
  • Verified existing no_write_paths entries still have write bits removed.
  • Verified missing empty_dirs behavior is unchanged.
  • Ran python -m py_compile steampipe_fixups.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant