mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #3762] [MERGED] reimplement --private-cache using --tmpfs #4873
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#4873
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/3762
Author: @smitsohu
Created: 11/20/2020
Status: ✅ Merged
Merged: 11/22/2020
Merged by: @netblue30
Base:
master← Head:smitsohu-private-cache📝 Commits (1)
da53c4ereimplement --private-cache using --tmpfs📊 Changes
3 files changed (+17 additions, -58 deletions)
View changed files
📝
src/firejail/fs.c(+6 -30)📝
src/firejail/sandbox.c(+3 -6)📝
test/fs/private-cache.exp(+8 -22)📄 Description
Use new
--tmpfsfunctionality to implement--private-cache. This has the added advantage that Firejail can now deal with symlinked ~/.cache directories, at least as long as the symlink's target lives in user home.The new
--private-cacheis less verbose and now behaves like--blacklist,--read-onlyand so on, which is why the test had to be adapted.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.