[GH-ISSUE #850] Cherrytree doesn't find its database anymore #581

Closed
opened 2026-05-05 06:12:56 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @curiosity-seeker on GitHub (Oct 9, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/850

Due to the latest latest change in cherrytree.profile, specifically the removal of whitelisting ~/.config/cherrytree, Cherrytree doesn't find its database anymore.

At least in my case the Cherrytree config.cfg file is saved in that directory, too, and if I create a new database that directory is offered as the default one. Hence, its removal is a bit, well, overzealous.

Originally created by @curiosity-seeker on GitHub (Oct 9, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/850 Due to the latest [latest](https://github.com/netblue30/firejail/commit/931f09d320dc7ab6f27ea5e724e9791eda2cec8b#diff-0c34fefae97615c28fbf9030e7bfeec9) change in cherrytree.profile, specifically the removal of whitelisting `~/.config/cherrytree`, Cherrytree doesn't find its database anymore. At least in my case the Cherrytree config.cfg file is saved in that directory, too, and if I create a new database that directory is offered as the default one. Hence, its removal is a bit, well, overzealous.
Author
Owner

@netblue30 commented on GitHub (Oct 9, 2016):

Try it now, @valoq put in with a fix.

<!-- gh-comment-id:252500057 --> @netblue30 commented on GitHub (Oct 9, 2016): Try it now, @valoq put in with a fix.
Author
Owner

@curiosity-seeker commented on GitHub (Oct 9, 2016):

Sorry, it doesn't work for me. That folder has to be whitelisted.

<!-- gh-comment-id:252501662 --> @curiosity-seeker commented on GitHub (Oct 9, 2016): Sorry, it doesn't work for me. That folder has to be whitelisted.
Author
Owner

@netblue30 commented on GitHub (Oct 9, 2016):

I have removed the whitelisting for now, it is creating too many problems, thanks for letting me know.

<!-- gh-comment-id:252521491 --> @netblue30 commented on GitHub (Oct 9, 2016): I have removed the whitelisting for now, it is creating too many problems, thanks for letting me know.
Author
Owner

@curiosity-seeker commented on GitHub (Oct 10, 2016):

That's not a big deal for me since I can use my own modified profile. I was only surprised by the added

noblacklist ${HOME}/.config/cherrytree/

This has no effect, IMHO, because:

  1. That folder is not blacklisted in any *.inc file.
  2. Due to the included /etc/firejail/whitelist-common.inc it was a whitelisted profile. Hence, without whitelisting that folder Cherrytree has no permission for it - noblacklist is not sufficient.

Please correct me if I'm misunderstanding something!

<!-- gh-comment-id:252646681 --> @curiosity-seeker commented on GitHub (Oct 10, 2016): That's not a big deal for me since I can use my own modified profile. I was only surprised by the added `noblacklist ${HOME}/.config/cherrytree/` This has no effect, IMHO, because: 1. That folder is not blacklisted in any *.inc file. 2. Due to the included `/etc/firejail/whitelist-common.inc` it was a [whitelisted profile](https://firejail.wordpress.com/documentation-2/building-whitelisted-profiles/). Hence, without whitelisting that folder Cherrytree has no permission for it - noblacklist is not sufficient. Please correct me if I'm misunderstanding something!
Author
Owner

@netblue30 commented on GitHub (Oct 11, 2016):

You are right, I just put a blacklist in disable-progams.inc, thanks.

<!-- gh-comment-id:252918402 --> @netblue30 commented on GitHub (Oct 11, 2016): You are right, I just put a blacklist in disable-progams.inc, thanks.
Author
Owner

@curiosity-seeker commented on GitHub (Oct 13, 2016):

Sorry for coming back! But the profile still contains an error:

The last slash in

noblacklist ${HOME}/.config/cherrytree/

is too much! It should be

noblacklist ${HOME}/.config/cherrytree

<!-- gh-comment-id:253578931 --> @curiosity-seeker commented on GitHub (Oct 13, 2016): Sorry for coming back! But the profile still contains an error: The last slash in `noblacklist ${HOME}/.config/cherrytree/` is too much! It should be `noblacklist ${HOME}/.config/cherrytree`
Author
Owner

@netblue30 commented on GitHub (Oct 14, 2016):

fixed, thanks.

<!-- gh-comment-id:253777269 --> @netblue30 commented on GitHub (Oct 14, 2016): fixed, thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#581
No description provided.