Skip to content

Keep SFTP folders browsable when file checks are restricted - #374

Open
MystifiedSky wants to merge 1 commit into
satisfactorymodding:masterfrom
MystifiedSky:fix/sftp-picker-restricted-stat
Open

MystifiedSky wants to merge 1 commit into
satisfactorymodding:masterfrom
MystifiedSky:fix/sftp-picker-restricted-stat

Conversation

@MystifiedSky

Copy link
Copy Markdown

Some SFTP servers allow listing a directory while returning permission denied when the picker checks for an absent FactoryServer.sh. This can hide an accessible Satisfactory installation in a child directory.

If the current remote directory can be listed and neither server executable appears in the listing, the picker treats it as a browsable parent folder. It still reports the permission error when an executable is listed.

The regression test covers both cases. I also verified that the updated picker could browse the affected server’s root and identify the Satisfactory installation in a child folder.

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

Labels

None yet

Projects

Status: 🆕 New

Development

Successfully merging this pull request may close these issues.

1 participant