[SailfishDevel] SyncML: Can not edit calendar events created on the PC
chris.adams at jolla.com
Wed Aug 14 04:20:20 UTC 2019
I'm not sure if this is what you're seeing or not, but some applications are members of the privileged group, which allows them to access data under /home/nemo/.local/share/system/privileged/ directory, which includes the mkcal database etc.
You can modify the packaging for the appropriate syncml server process to ensure it installs a config file to the mapplauncherd's privileges directory (see e.g. https://git.merproject.org/mer-core/buteo-syncfw/blob/master/rpm/buteo-syncfw-qt5.privileges for msyncd) - although if it is a child process of msyncd it shouldn't need anything extra as it should inherit egid from parent process IIRC.
If the issue you're seeing is unrelated to that, it might be that at some point in the sync process a particular notebook (i.e. calendar) is being set as read-only in the database. The mKCal::Notebook::setIsReadOnly() method causes the FLAG_IS_READONLY to be set into the Flags column for that notebook when it is stored. A read-only notebook is considered invalid for writes (i.e. it can be used to archive an old notebook which is no longer valid for reads/writes).
If it's unrelated to these, then I'm not sure what the issue might be.
From: Devel [devel-bounces at lists.sailfishos.org] on behalf of deloptes [deloptes at gmail.com]
Sent: Sunday, August 11, 2019 3:08 AM
To: devel at lists.sailfishos.org
Subject: Re: [SailfishDevel] SyncML: Can not edit calendar events created on the PC
Tone Kastlunger wrote:
> Sounds more like a permission issue to me?
> Could be the user of the SyncML (server?) is not authorized to modify but
> just to add entries?
I don't know where to look at. This is why I am asking.
At the end it is stored in a sqlite DB. How am I supposed to understand
where these permissions are set.
I found one article describing calendar in Sailfis
But still not clear where this is set. I hope someone here can give me a
BTW: I am using the sync on daily bases already, like I did with N9.
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
More information about the Devel