mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #42] [MERGED] Implement the expand_home util function #3523
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#3523
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/42
Author: @ghost
Created: 8/22/2015
Status: ✅ Merged
Merged: 8/23/2015
Merged by: @netblue30
Base:
master← Head:expand-home📝 Commits (1)
d798c50Implement the expand_home util function📊 Changes
5 files changed (+68 additions, -33 deletions)
View changed files
📝
src/firejail/firejail.h(+1 -0)📝
src/firejail/fs.c(+2 -11)📝
src/firejail/fs_home.c(+37 -13)📝
src/firejail/profile.c(+1 -9)📝
src/firejail/util.c(+27 -0)📄 Description
Implemented a new function called
expand_homein util.c, in order to help with issue #40 . The following now work, that didn't before:firejail --private-home=~/dir/filefirejail --private-home=${HOME}/dir/fileAs a nice side-effect, the following now also works (previously
--privateonly supported~for homedir):firejail --private=${HOME}/dirHopefully I haven't broken anything else but please give it a test!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.