[PR #1044] [MERGED] Make ~/.local read-only #3835

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/1044
Author: @KellerFuchs
Created: 1/11/2017
Status: Merged
Merged: 1/20/2017
Merged by: @netblue30

Base: masterHead: disable-path-local


📝 Commits (2)

  • f12f475 disable-common: Make directories commonly found in $PATH read-only
  • cbb8417 disable-common: Make ~/.local read-only

📊 Changes

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

View changed files

📝 etc/disable-common.inc (+9 -1)

📄 Description

This is a stab at handling @reinerh's comments in #1036:
making ~/.local read-only, and ~/.local/share read-writeable.

Pro:

  • likely doesn't break most things;
  • provides sensible protection for ~/.local/{bin,lib,...}

Con:

  • breaks the few applications that write to ~/.local/${app} directly (I'm not aware of any impacted profile, though);
  • doesn't provide any isolation in ~/.local/share.

I would happily welcome some discussion about what are our options there.


🔄 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/1044 **Author:** [@KellerFuchs](https://github.com/KellerFuchs) **Created:** 1/11/2017 **Status:** ✅ Merged **Merged:** 1/20/2017 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `disable-path-local` --- ### 📝 Commits (2) - [`f12f475`](https://github.com/netblue30/firejail/commit/f12f4756c822b786547f29b5f88f389ba4dd6b6c) disable-common: Make directories commonly found in $PATH read-only - [`cbb8417`](https://github.com/netblue30/firejail/commit/cbb8417abad24234979c6ade8ef87f764b2ad791) disable-common: Make ~/.local read-only ### 📊 Changes **1 file changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `etc/disable-common.inc` (+9 -1) </details> ### 📄 Description This is a stab at handling @reinerh's comments in #1036: making `~/.local` read-only, and `~/.local/share` read-writeable. Pro: - likely doesn't break most things; - provides sensible protection for `~/.local/{bin,lib,...}` Con: - breaks the few applications that write to `~/.local/${app}` directly (I'm not aware of any impacted profile, though); - doesn't provide any isolation in `~/.local/share`. I would happily welcome some discussion about what are our options there. --- <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: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#3835
No description provided.