Snap applications cannot access the user's normal XDG directories
Bug #1577471 reported by
Christopher Townsend
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Invalid
|
High
|
Pat McGowan | ||
Snappy |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have built a snap and have the home interface included and connected, but the application in the snap cannot see any of the normal XDG directories such as Documents, Music, Videos, Pictures, etc.
tags: | added: snap-desktop-issue |
no longer affects: | snappy (Ubuntu) |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Pat McGowan (pat-mcgowan) |
importance: | Undecided → High |
milestone: | none → p2 |
status: | New → Confirmed |
tags: | added: personal |
no longer affects: | snapd (Ubuntu) |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Invalid |
To post a comment you must log in.
You will have access to those directories but you will not know where they are. I suspect that if the home interface is connected, before better things are in place, we could set all the XDG_$foo_DIR from the ubuntu- core-launcher (which can also read .config/ user-dirs. dirs) and expose those variables to the started process.
This needs security input.