[Nepomuk] File indexer-related questions

Ivan Čukić ivan.cukic at kde.org
Sat Jan 7 10:59:06 UTC 2012


Hi all,

We are planning to introduce activity encryption for SC4.9 and PA3 and
it raises a couple of questions regarding our usage of nepomuk.

The idea is as follows:
- there will be unencrypted activities, behaving like they do now
- there will be encrypted ones (fuse+encfs)
  - each will have a set of dedicated directories for the files in it:
    $HOME/Activities/.uuid (enc data) and $HOME/Activities/uuid (mount point)
    (or something similar)
  - when a file is linked to the activity, it is moved to the encrypted folder
  - when a file is unlinked, it returns to the original location... or
whatever (will have to think about this).

So, these are going to be the issues with nepomuk that I'd like for us to solve:

1. Reindexing of the files on move

I guess there is a way to tell nepomuk that something has moved and
that it doesn't need to be reindexed? Is it enough to just change the
nie:url before the actual move operation?

2. File contents in nepomuk

We need the file indexer not to save the nie:plainTextContent of the
files that are under encrypted folder. Guess it is not currently
possible, so I'd like us to find a feasible solution for this as soon
as possible.


-- 
Cheerio,
Ivan

--
While you were hanging yourself on someone else's words
Dying to believe in what you heard
I was staring straight into the shining sun


More information about the Nepomuk mailing list