Bug 402368

Summary: Pdf does not open in hidden folder on Snap package
Product: [KDE Neon] neon Reporter: Ronaldo Vieira Lobato <vieira.lobato>
Component: SnapsAssignee: Harald Sitter <sitter>
Status: RESOLVED UPSTREAM    
Severity: normal CC: neon-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.