Bug 318353 - implement kind of a read-only mode
Summary: implement kind of a read-only mode
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Schema (show other bugs)
Version: 3.1.0
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-14 17:43 UTC by Christoph Anton Mitterer
Modified: 2017-07-25 19:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 3.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ;-)