[Digikam-devel] [Bug 178103] Digikam error: Failed to revise Exif orientation

Andreas Huggel ahuggel at gmx.net
Sun Dec 21 12:54:08 GMT 2008


http://bugs.kde.org/show_bug.cgi?id=178103





--- Comment #7 from Andreas Huggel <ahuggel gmx net>  2008-12-21 13:54:07 ---
Oh, ok, now I get it.

The error message means that the system call to chmod() failed (with rc == -1)
for the given file and errno is 1. The error message actually also includes a
textual description of the system error before '(1)', but that is empty here.

This happens in FileIo::transfer, presumably called from
TiffImage::writeMetadata in this case (based on the file name).

When the file is written, it is saved to a temporary file first. Then the
temporary file is renamed to the original filename and the original permissions
are applied to the new file. The actual implementation is a bit more
complicated:
http://dev.exiv2.org/repositories/entry/exiv2/trunk/src/basicio.cpp#L217

What are the permissions of the original file and that of the directory? What
filesystem is this on?

Andreas


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list