mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #5136] feature: add keep-xattrs option #5375
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#5375
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/5136
Author: @dseight
Created: 5/8/2022
Status: 🔄 Open
Base:
master← Head:keep-xattr📝 Commits (3)
7db169bSimplify fcopy args processing055168cAdd--keep-xattrsoption to fcopy624517bAdd keep-xattrs option📊 Changes
13 files changed (+128 additions, -23 deletions)
View changed files
📝
contrib/vim/syntax/firejail.vim(+1 -1)📝
src/fcopy/main.c(+90 -15)📝
src/firejail/dhcp.c(+1 -1)📝
src/firejail/firejail.h(+1 -0)📝
src/firejail/fs_bin.c(+2 -2)📝
src/firejail/fs_etc.c(+2 -2)📝
src/firejail/fs_home.c(+2 -2)📝
src/firejail/main.c(+8 -0)📝
src/firejail/profile.c(+5 -0)📝
src/firejail/usage.c(+1 -0)📝
src/man/firejail-profile.txt(+4 -0)📝
src/man/firejail.txt(+10 -0)📝
src/zsh_completion/_firejail.in(+1 -0)📄 Description
By default, firejail preserves only xattrs for bind-mounted files. To preserve xattrs on copied files (produced by private-bin, private-etc and private-home options) it's possible to use keep-xattrs option.
keep-xattrs is very useful in systems with signature-based IMA appraisal enabled (especially, when IMA policy prohibits running unsigned binaries).
New command checklist:
Edit by @kmk3: Add new command checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.