[Digikam-devel] [Bug 137770] New: Digikam doesn't keep original unix rights when modifying comments/tags/rating
fabien.ubuntu at gmail.com
Thu Nov 23 11:57:48 GMT 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Summary: Digikam doesn't keep original unix rights when modifying
Platform: Ubuntu Packages
AssignedTo: digikam-devel kde org
ReportedBy: fabien.ubuntu gmail com
Version: 0.9.0-svn (using KDE KDE 3.5.2)
Installed from: Ubuntu Packages
Like some people complained about digikam overwriting the original image file, I thought they could just change unix right to ensure digikam (or any software) won't change the file.
I tested it, but it doesn't work...
And, I also saw that digikam rewrite the the file even if it doesn't modify it.
Digikam configuration : all options in metadata unset
I changed the file rights in the album to just read-only (0400) then started digikam.
If I try to assign a new comment/tag/rate to an image, digikam will write the file (with the same md5sum, but new date) with defaut umask rights (eg file will be 0644).
I think it should keep unix right intact, but also don't try to modify files that are read-only and don't update file date when no modification is done.
More information about the Digikam-devel