[PR #988] [MERGED] Added symlink fixer. #3814

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/988
Author: @KOLANICH
Created: 12/18/2016
Status: Merged
Merged: 12/19/2016
Merged by: @netblue30

Base: masterHead: symlink_fix


📝 Commits (1)

  • 8e75011 Added symlink fixer. It fixes the profiles in order to give access to symlinked binaries (for example if sh -> dash and dash is not in private-bin, you can't use sh)

📊 Changes

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

View changed files

etc/fix_private-bin_for_symlinked_sh.py (+68 -0)

📄 Description

It fixes the profiles in order to give access to symlinked binaries (for example if sh -> dash and dash is not in private-bin, you can't use sh).

@netblue30 , please add it into installation script.
To do it you should change it a bit to fix the following issues:
1 it doesn't take arguments now
2 the items not in bins are not fixed.


🔄 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/988 **Author:** [@KOLANICH](https://github.com/KOLANICH) **Created:** 12/18/2016 **Status:** ✅ Merged **Merged:** 12/19/2016 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `symlink_fix` --- ### 📝 Commits (1) - [`8e75011`](https://github.com/netblue30/firejail/commit/8e75011239e95eb718e7f5baf800b33423aa39ba) Added symlink fixer. It fixes the profiles in order to give access to symlinked binaries (for example if sh -> dash and dash is not in private-bin, you can't use sh) ### 📊 Changes **1 file changed** (+68 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `etc/fix_private-bin_for_symlinked_sh.py` (+68 -0) </details> ### 📄 Description It fixes the profiles in order to give access to symlinked binaries (for example if sh -> dash and dash is not in private-bin, you can't use sh). @netblue30 , please add it into installation script. To do it you should change it a bit to fix the following issues: 1 it doesn't take arguments now 2 the items not in ```bin```s are not fixed. --- <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:08:25 -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#3814
No description provided.