GNOME Bugzilla – Bug 335496
gthumb doesn't re-scan thumbnails when permissions change
Last modified: 2007-03-08 13:26:54 UTC
Forwarded from: https://launchpad.net/distros/ubuntu/+source/gthumb/+bug/33494 1. copied abc.jpg to xyz.jpg, change owner and permissions on xyz.jpg to root 600. 2. opened gthumb no thumbnail for xyz.jpg as expected. 3. chown and chmod back to me for xyz.jpg but still no thumbnail. 4. Tried <Ctrl>-R, still no thumbnail. 5. "touch"ed file, now thumbnail appears. The gthumb version in use is 2.7.5.1
The thumbnailing code determines the thumbnail "freshness" based on the file mtime. chmod doesn't change the mtime, but touch does. It isn't worth the added complexity to track the ctime too (which changes when permissions are changed). We use GnomeThumbnail (from libgnomeui), which relies on mtime. This is a deliberate design choice, so I'm marking it as "NOTABUG". - Mike