Skip to content

Feat: "Advanced Mode" to explore system directories (Root space support) #285

Description

@pirate-boop

Description of Improvement

Currently, TTT is tightly bound to the user's home directory scope. Even when executed with elevated privileges (e.g., via sudo), it often defaults back to /home/user due to how environment variables like $HOME are handled or how the directory tree is initialized. For power users, sysadmins, or users managing system-wide declarative configurations (like NixOS), this limitation causes a lot of friction.

Proposed Solution:
Introduce an explicit toggle in the settings menu labeled "Advanced Mode: Allow System Directory Exploration" (disabled by default for safety).

Expected Behavior:
When Disabled (Default): The left Explore sidebar behaves as it does now, locking the scope to the user's home folder to prevent accidental modification of critical system files.
When Enabled: The Explore sidebar exposes the actual root directory (/) or adds a system-wide folder tree alongside the user's home directory. This allows full-filesystem navigation, assuming the TTT process has the necessary read/write permissions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions