[PR #5496] [MERGED] kcalc.profile: fix mkfile without mkdir & comment legacy paths #5515

Closed
opened 2026-05-05 10:39:49 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/5496
Author: @kmk3
Created: 12/1/2022
Status: Merged
Merged: 12/8/2022
Merged by: @kmk3

Base: masterHead: kcalc-fix-mkfile


📝 Commits (2)

  • 9b87289 kcalc.profile: fix mkfile without mkdir
  • f6360fc kcalc.profile: stop creating legacy KDE paths

📊 Changes

1 file changed (+6 additions, -2 deletions)

View changed files

📝 etc/profile-a-l/kcalc.profile (+6 -2)

📄 Description

kcalc.profile: fix mkfile without mkdir

firejail may fail to create the following files:

  • ~/.kde/share/config/kcalcrc
  • ~/.kde4/share/config/kcalcrc

Because it does not create the preceding directories beforehand:

  • ~/.kde/share/config
  • ~/.kde4/share/config

kcalc.profile: stop creating legacy KDE paths

Leave them commented.

With this commit, there are no more profiles creating paths in ~/.kde
nor in ~/.kde4:

$ git grep -e '^mkdir .*\.kde' -e '^mkfile .*\.kde' -- etc
$

Relates to #5415.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/5496 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 12/1/2022 **Status:** ✅ Merged **Merged:** 12/8/2022 **Merged by:** [@kmk3](https://github.com/kmk3) **Base:** `master` ← **Head:** `kcalc-fix-mkfile` --- ### 📝 Commits (2) - [`9b87289`](https://github.com/netblue30/firejail/commit/9b87289d220193fe6063bb096fb85c2d9213d6e4) kcalc.profile: fix mkfile without mkdir - [`f6360fc`](https://github.com/netblue30/firejail/commit/f6360fc046a3f7a4a4d185038573dc760dccb6fe) kcalc.profile: stop creating legacy KDE paths ### 📊 Changes **1 file changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `etc/profile-a-l/kcalc.profile` (+6 -2) </details> ### 📄 Description kcalc.profile: fix mkfile without mkdir firejail may fail to create the following files: * ~/.kde/share/config/kcalcrc * ~/.kde4/share/config/kcalcrc Because it does not create the preceding directories beforehand: * ~/.kde/share/config * ~/.kde4/share/config --- kcalc.profile: stop creating legacy KDE paths Leave them commented. With this commit, there are no more profiles creating paths in ~/.kde nor in ~/.kde4: $ git grep -e '^mkdir .*\.kde' -e '^mkfile .*\.kde' -- etc $ Relates to #5415. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:39:49 -06:00
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#5515
No description provided.