Bug 318353

Summary: implement kind of a read-only mode
Product: [Applications] digikam Reporter: Christoph Anton Mitterer <calestyo>
Component: Database-SchemaAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: 3.1.0   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In: 3.2.0

Description Christoph Anton Mitterer 2013-04-14 17:43:36 UTC
Hi.

In my image processing and organising work-flow I have for example the following basic paradigm:
Never ever modify RAW images (which, if the camera has now RAW, would be the original JPEG). Neither content nor metadata.
Such metadata changes should then go into XMP sidecar files

It would be great if digikam has a mode, in which it guaranteed never writes to files which are read-only (respectively for which the user/owner/other has no write permission bit set, even if he owns the file and could simply change that).


Would that be possible? Or is it even already handled like this?


Cheers,
Chris.

Reproducible: Always
Comment 1 caulier.gilles 2013-04-14 18:18:16 UTC
Raw file metadata will are only touch is you turn on option in digiKam Matadata setup page. This option is disable by default.

In fact since digiKam support XMP sidecar files, this will be for you the better way to preserve RAW metadata. This feature is also supported in digiKam Metadata panel.

To resume, by default, RAW files are not touch by default.

Gilles Caulier
Comment 2 Christoph Anton Mitterer 2013-04-14 18:32:01 UTC
Well RAW... but not necessarily JPEGs, right? Which can also be the "raw" image in case your camera has now RAW ability.

Anyway I guess it boils down to:
Does digikam override missing writable flags on files (when it can)?
Some programs do this, e.g. VIM can to when you don't just say :w but :w! 

Cheers,
Chris.
Comment 3 Marcel Wiesweg 2013-04-18 19:49:25 UTC
Try it... if the behavior is not adequate, report it here, reopening
Comment 4 Christoph Anton Mitterer 2013-04-18 20:21:39 UTC
Hey Marcel.

Well digiKam is quite "huge" if there was one place, where this happens when I use some magic option,... it could be already "too late" once I notice it ... therefore the question whether you know whether this is done anywhere or planned to do so. ;-)