Dolphin displays thumbnails of files, even if you do not have read access to these files. I set the severity of this bug to "major" because there is a security issue : the content of a file that is not readable mustn't be displayed. STEPS TO REPRODUCE 1. Create a file "a.jpg" and display its thumbnail in Dolphin 2. chmod 0 a.jpg 3. Refresh Dolphin display (or even quit Dolphin and restart it) OBSERVED RESULT The thumbnail of a.jpg is still displayed (although you have no right to see the content of the file). EXPECTED RESULT No thumbnail should be displayed for files you are not allowed to read.
I agree. And it's what is asked by the standard : "Programs should first check that the original image file is readable. If it is not, the program should not attempt to read a thumbnail from the cache, and it should not save any information in the cache (including "failed" thumbnails)." https://specifications.freedesktop.org/thumbnail-spec/latest/thumbsave.html#id-1.7.7 This usually isn't a problem because having access to the thumbnail means that the user had access to the file before. But it become an issue if someone try to save space by sharing the thumbnail folder between multiple people with different level of access.
Can confirm that the thumbnail is still shown if there are no read permissions on the file.