[PR #5206] [MERGED] build: fix file mode of shell scripts (644 -> 755) #5403

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/5206
Author: @kmk3
Created: 6/16/2022
Status: Merged
Merged: 6/17/2022
Merged by: @netblue30

Base: masterHead: fix-file-mode-sh


📝 Commits (1)

  • 8169369 build: fix file mode of shell scripts (644 -> 755)

📊 Changes

2 files changed (+0 additions, -0 deletions)

View changed files

📝 src/fgit/fgit-uninstall.sh (+0 -0)
📝 src/tools/extract_errnos.sh (+0 -0)

📄 Description

Some shell scripts are not executable, so fix their file modes:

$ git grep -Elz '^#!/bin/(ba)?sh' | xargs -0 -I '{}' \
  chmod +x '{}'

Files changed:

  • src/fgit/fgit-uninstall.sh
  • src/tools/extract_errnos.sh

Note: I have manually checked that the files above are indeed intended
to be executable directly and not just sourced, as a script of the
latter kind could also contain a shebang (for example, to help ensure
proper syntax highlighting).

Misc: The affected files were added on commit e46dd3e95 ("git-install",
2017-02-04) and on commit 081d1fbf2 ("Add seccomp errno filter support",
2015-09-23) / PR #66, respectively.

Cc: @netblue30 @wader


🔄 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/5206 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 6/16/2022 **Status:** ✅ Merged **Merged:** 6/17/2022 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `fix-file-mode-sh` --- ### 📝 Commits (1) - [`8169369`](https://github.com/netblue30/firejail/commit/81693691489a5a00705fde1cff86cf834167d0c1) build: fix file mode of shell scripts (644 -> 755) ### 📊 Changes **2 files changed** (+0 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/fgit/fgit-uninstall.sh` (+0 -0) 📝 `src/tools/extract_errnos.sh` (+0 -0) </details> ### 📄 Description Some shell scripts are not executable, so fix their file modes: $ git grep -Elz '^#!/bin/(ba)?sh' | xargs -0 -I '{}' \ chmod +x '{}' Files changed: * src/fgit/fgit-uninstall.sh * src/tools/extract_errnos.sh Note: I have manually checked that the files above are indeed intended to be executable directly and not just sourced, as a script of the latter kind could also contain a shebang (for example, to help ensure proper syntax highlighting). Misc: The affected files were added on commit e46dd3e95 ("git-install", 2017-02-04) and on commit 081d1fbf2 ("Add seccomp errno filter support", 2015-09-23) / PR #66, respectively. Cc: @netblue30 @wader --- <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:37:48 -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#5403
No description provided.