Bug 402368 - Pdf does not open in hidden folder on Snap package
Summary: Pdf does not open in hidden folder on Snap package
Status: RESOLVED UPSTREAM
Alias: None
Product: neon
Classification: KDE Neon
Component: Snaps (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-20 00:23 UTC by Ronaldo Vieira Lobato
Modified: 2019-01-10 11:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronaldo Vieira Lobato 2018-12-20 00:23:56 UTC
SUMMARY
If the pdf file is in a hidden folder, like ~/.cache/evolution/tmp/... okular is unable to open the file.

STEPS TO REPRODUCE
1. Put a pdf in a folder ~/.test
2. Try to open

OBSERVED RESULT
Could not open file://~/.teste/pdf

EXPECTED RESULT
Open the pdf

SOFTWARE/OS VERSIONS
Snap package

ADDITIONAL INFORMATION
Comment 1 Harald Sitter 2019-01-10 11:05:23 UTC
Nothing we can do about this unfortunately. It's a defect in snapd which simply doesn't let the snap access .cache. This may get solved with a revised file access system though.

If you feel particularly brave you could try taking this to forum.snapcraft.io, I would assume .cache/evoluation/tmp/* could be whitelisted somewhere, of course the general problem of not being able to open host-side caches remains for other applications.