[PR #2475] [CLOSED] Archivers #4341

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/2475
Author: @ghost
Created: 2/25/2019
Status: Closed

Base: masterHead: archivers


📝 Commits (7)

📊 Changes

6 files changed (+59 additions, -8 deletions)

View changed files

📝 etc/7z.profile (+10 -1)
📝 etc/atool.profile (+8 -1)
📝 etc/bsdtar.profile (+10 -4)
📝 etc/cpio.profile (+11 -0)
📝 etc/gzip.profile (+10 -1)
📝 etc/tar.profile (+10 -1)

📄 Description

Hi all. For several months I have been testing archivers succesfully with hardened and streamlined profiles. I noticed there were some that used nogroups while others didn't. All of the tested archivers currently have ignore noroot, yet I can't see any reason for it (which of course doesn't mean there isn't one).

Additional hardening options I've enabled in all of the tested profiles:

apparmor
ipc-namespace
machine-id
net none
nodbus
nogroups
noroot
protocol unix

private-cache

memory-deny-write-execute
noexec ${HOME}
noexec /tmp

During the test period I have not experienced any errors or other weirdness. Again, that doesn't mean there aren't any problems, I just didn't see any on my test platforms (Arch Linux/Ubuntu LTS). Which makes me pose the question if people (especially running Fedora) would be interested to test these hardened profiles and provide feed-back here.

If this looks futile, not worth the trouble or otherwise superfluous, please feel free to point that out. No harm is done, this is a draft PR made for that purpose.

Looking forward to your input.


🔄 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/2475 **Author:** [@ghost](https://github.com/ghost) **Created:** 2/25/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `archivers` --- ### 📝 Commits (7) - [`bf9fb34`](https://github.com/netblue30/firejail/commit/bf9fb349da04e73a29dde30b6463e0be0fe95c27) Harden 7z.profile - [`2b636b1`](https://github.com/netblue30/firejail/commit/2b636b121c4bdeb616ee74ca145928761882362d) Harden atool.profile - [`3ec59e7`](https://github.com/netblue30/firejail/commit/3ec59e7b5ee175b92ce3ca04ebb97f11089dec1e) Harden 7z.profile - [`0193f7b`](https://github.com/netblue30/firejail/commit/0193f7b2efbbd751b9e21cde3c5e87771b0a891d) Harden cpio.profile - [`d89a8e1`](https://github.com/netblue30/firejail/commit/d89a8e112a2f401ebdad75c5bc4d0fdf47d48810) Harden gzip.profile - [`a4397bf`](https://github.com/netblue30/firejail/commit/a4397bf9de58c16cdea80e360936fd40d972074c) Harden tar.profile - [`b1b0ba3`](https://github.com/netblue30/firejail/commit/b1b0ba300cd04ee5ff46a29af636864f7a408ad0) Harden bsdtar.profile ### 📊 Changes **6 files changed** (+59 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `etc/7z.profile` (+10 -1) 📝 `etc/atool.profile` (+8 -1) 📝 `etc/bsdtar.profile` (+10 -4) 📝 `etc/cpio.profile` (+11 -0) 📝 `etc/gzip.profile` (+10 -1) 📝 `etc/tar.profile` (+10 -1) </details> ### 📄 Description Hi all. For several months I have been testing archivers succesfully with hardened and streamlined profiles. I noticed there were some that used `nogroups` while others didn't. All of the tested archivers currently have `ignore noroot`, yet I can't see any reason for it (which of course doesn't mean there isn't one). Additional hardening options I've enabled in all of the tested profiles: `apparmor` `ipc-namespace` `machine-id` `net none` `nodbus` `nogroups` `noroot` `protocol unix` `private-cache` `memory-deny-write-execute` `noexec ${HOME}` `noexec /tmp` During the test period I have not experienced any errors or other weirdness. Again, that doesn't mean there aren't any problems, I just didn't see any on my test platforms (Arch Linux/Ubuntu LTS). Which makes me pose the question if people (especially running Fedora) would be interested to test these hardened profiles and provide feed-back here. If this looks futile, not worth the trouble or otherwise superfluous, please feel free to point that out. No harm is done, this is a draft PR made for that purpose. Looking forward to your input. --- <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:18:15 -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#4341
No description provided.