Version: (using KDE 4.2.98) Installed from: Gentoo Packages I have a read-only ICS file as calendar in my resources list (Akonadi Configuration KCM). When opening the properties of this read-only source and clicking OK in the properties dialog, a message appears telling: Trying to write to a read-only file: 'webcal://ws.audioscrobbler.com/1.0/user/eliasp/events.ics'. Akonadi shouldn't try to write to a file which is even set to read-only in it's properties.
Still an issue in kdepim 4.7.3. Worse, kdepim (or perhaps akonadi) then disables the resource meaning that this feature cannot be used. I have an .ics file from another application, added to kdepim as a read-only Akonadi iCal resource. The actual file is mode 0644 but I made it read-only as I only want to pick up any scheduling information and reminders from it, not to write to it. However kdepim has decided that it wants to write something to this resource, even though it was marked read-only from the beginning. As a result it complains "trying to write to a readonly file" and disables the resource. When it changes on disk, I get an additional "The file .... was changed on disk whilst there were still pending changes in Akonadi. To avoid data loss ....." (unfortunately the rest of the messages is truncated by knotifier and I cannot find a way to display what it is telling me about data loss).
The ICal resource now correctly honors the "Read-only" option. Please reopen if this should appear again.