[PR #2213] [MERGED] git.profile: Disable blacklist for default Oh My Zsh directory #4224

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/2213
Author: @Senemu
Created: 10/24/2018
Status: Merged
Merged: 10/24/2018
Merged by: @netblue30

Base: masterHead: patch-1


📝 Commits (1)

  • f0ccabc git.profile: Disable blacklist for default Oh My Zsh directory

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 etc/git.profile (+1 -0)

📄 Description

Oh My Zsh is installed to ${HOME}/.oh-my-zsh by default. Installation and upgrading use git and will fail if it gets sandboxed (since commit 6b84a6a9e8):

$ upgrade_oh_my_zsh
Updating Oh My Zsh
error: cannot open .git/FETCH_HEAD: Read-only file system
There was an error updating. Try again later?

Topgrade and anything or anyone else trying to upgrade Oh My Zsh using a sandboxed git will encounter the same error.

Disabling blacklisting of the default Oh My Zsh installation directory for the git profile fixes this.


🔄 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/2213 **Author:** [@Senemu](https://github.com/Senemu) **Created:** 10/24/2018 **Status:** ✅ Merged **Merged:** 10/24/2018 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`f0ccabc`](https://github.com/netblue30/firejail/commit/f0ccabc65dae79c108dac35b97d8e62b19c4c87b) git.profile: Disable blacklist for default Oh My Zsh directory ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `etc/git.profile` (+1 -0) </details> ### 📄 Description [Oh My Zsh](https://ohmyz.sh/) is installed to `${HOME}/.oh-my-zsh` by default. Installation and upgrading use `git` and will fail if it gets sandboxed (since commit 6b84a6a9e82affa460e46790da542dbf3b1b84f9): ``` $ upgrade_oh_my_zsh Updating Oh My Zsh error: cannot open .git/FETCH_HEAD: Read-only file system There was an error updating. Try again later? ``` [Topgrade](https://github.com/r-darwish/topgrade) and anything or anyone else trying to upgrade Oh My Zsh using a sandboxed `git` will encounter the same error. Disabling blacklisting of the default Oh My Zsh installation directory for the `git` profile fixes this. --- <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:16:04 -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#4224
No description provided.