[PR #3382] [MERGED] firecfg: Only use fix_desktop_files automatically when run through sudo #4743

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/3382
Author: @backspac
Created: 4/25/2020
Status: Merged
Merged: 6/4/2020
Merged by: @rusty-snake

Base: masterHead: fix-desktop-files


📝 Commits (2)

  • 7bc5fc3 firecfg: Only use fix_desktop_files when --fix is specified
  • 2359fa9 firecfg: Only use fix_desktop_files automatically when run through sudo

📊 Changes

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

View changed files

📝 src/firecfg/main.c (+3 -2)

📄 Description

It also fixes this error when running firecfg as root:

Error: this option is not supported for root user; please run as a regular user.

🔄 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/3382 **Author:** [@backspac](https://github.com/backspac) **Created:** 4/25/2020 **Status:** ✅ Merged **Merged:** 6/4/2020 **Merged by:** [@rusty-snake](https://github.com/rusty-snake) **Base:** `master` ← **Head:** `fix-desktop-files` --- ### 📝 Commits (2) - [`7bc5fc3`](https://github.com/netblue30/firejail/commit/7bc5fc32fd95d66778b8bd16e1bc91649a8ead66) firecfg: Only use fix_desktop_files when --fix is specified - [`2359fa9`](https://github.com/netblue30/firejail/commit/2359fa901d6ac4a266ca2a1c0ddf31939a3a9863) firecfg: Only use fix_desktop_files automatically when run through sudo ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/firecfg/main.c` (+3 -2) </details> ### 📄 Description It also fixes this error when running `firecfg` as root: ``` Error: this option is not supported for root user; please run as a regular user. ``` --- <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:25:46 -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#4743
No description provided.