Skip to content

Bug: SD Card (Predefined FTP Folder) Reports No Access Due to Symlinks Outside the Folder #4

@codevski

Description

@codevski

Describe the bug
When selecting a predefined FTP folder location, such as the SD card, accessing it sometimes fails with a 'no access' error. This appears to occur when symlinks inside the selected directory point outside of the actual folder, causing permission or access restrictions.

Steps to reproduce

  1. From Game Mode, select the SD card as the FTP folder location.
  2. Attempt to access the SD card contents over FTP.
  3. Observe that access may be denied if symlinks are present that point to locations outside the SD card directory.

Expected behavior
All accessible folders should be readable over FTP unless restricted by platform security. Symlinks within the folder should not inadvertently deny access to the whole folder.

Additional context
Inspired by behavior observed on PSP/PS Vita with some homebrew FTP servers; symlink security handling may require improvement or clarification.


Decky Loader plugin that runs an FTP server directly from Game Mode, allowing full file management over the local network, no desktop mode required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions