Skip to content

Preferences page shows the server's absolute paths to any visitor #637

Closed

Description

@LeMyst

The Preferences page lists the absolute paths of the aisle file, the pantry file and the recipe directory, for example /home/<user>/recipes/config/aisle.conf. It shows them to anyone who can open the page: with sign-in on, that includes visitors who have not signed in.

That tells any visitor the server's directory layout and, usually, the name of the account the server runs as. Nothing on the page needs the full path to work.

Possible fix

Either of these:

  • show the paths only to viewers who can administer the server (viewer.can_admin(); with sign-in off that is everyone, as today);
  • or show them relative to the recipe directory (config/aisle.conf), and only say "global configuration" for files outside it.

#631 does the second for the new aisles page and API.

Activity

  1. added a commit that references this issue on Oct 9, 2026
    4983af0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions