After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 335496 - gthumb doesn't re-scan thumbnails when permissions change
gthumb doesn't re-scan thumbnails when permissions change
Status: RESOLVED NOTABUG
Product: gthumb
Classification: Other
Component: general
2.7.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2006-03-22 11:35 UTC by Daniel Holbach
Modified: 2007-03-08 13:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Holbach 2006-03-22 11:35:12 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
Comment 1 Michael Chudobiak 2007-03-08 13:26:54 UTC
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