Flatpak: justify or narrow --filesystem=home (Flathub exception)

Open
#274 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
java
Domain
desktop, devops

Research direction

Start with the linux-flatpak.yml workflow and its flatpak-builder-lint output, then read the linked data directory issue and follow-up #245 for context. The app needs access to arbitrary benchmark paths and currently stores settings in ~/.jdm; determine whether a justified Flathub exception or narrower permissions after the XDG move or file chooser portal meet those needs. Done means the chosen permission scope is justified and the Flatpak lint workflow passes.

Written by the indexing model from the issue text.

Description

enhancement linux

Follow-up from #245.

flatpak-builder-lint reports finish-args-home-filesystem-access for --filesystem=home. The Swing file chooser can select any benchmark location and the app also stores settings in ~/.jdm, so removing it would break the app today.

  • Request a Flathub exception with a justification (benchmark target can be any path; --device=all and /media, /run/media are already granted).
  • Evaluate narrowing it once data directories move to XDG dirs (see the data directory issue) and/or using the file chooser portal.

Lint output: https://github.com/JDiskMark/jdm-java/actions/workflows/linux-flatpak.yml

Dominant language
Java
Stars
6
Forks
6
Avg merge
10h 11m
Merged PRs (30d)
12

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JDiskMark/jdm-java

All issues in JDiskMark/jdm-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.