aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-12-04 12:36:44 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2015-12-04 12:36:44 -0500
commit129af459ad895b329afb62f3fe9cbcbd6a578072 (patch)
treeb5ac2a42b2b6ca9c2ecb503c0fe4411f37fe5382 /README.md
parent--tracelog work (diff)
downloadfirejail-129af459ad895b329afb62f3fe9cbcbd6a578072.tar.gz
firejail-129af459ad895b329afb62f3fe9cbcbd6a578072.tar.zst
firejail-129af459ad895b329afb62f3fe9cbcbd6a578072.zip
--profile-path option
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 22 insertions, 1 deletions
diff --git a/README.md b/README.md
index 832fece06..a8ad27da3 100644
--- a/README.md
+++ b/README.md
@@ -112,4 +112,25 @@ Dec 3 11:43:25 debian firejail[70]: blacklist violation - sandbox 26370, exe fi
112Dec 3 11:46:17 debian firejail[70]: blacklist violation - sandbox 26370, exe firefox, 112Dec 3 11:46:17 debian firejail[70]: blacklist violation - sandbox 26370, exe firefox,
113 syscall opendir, path /boot 113 syscall opendir, path /boot
114[...] 114[...]
115````` \ No newline at end of file 115`````
116
117### --profile-path
118For various reasons some users might want to keep the profile files in
119a different directory. Using --profile-path command line option,
120Firejail can be instructed to look for profiles into this directory.
121
122This is an example of relocating the profile files into a new directory,
123/home/netblue/myprofiles. Start by creating the new directory and
124copy all the profile files in:
125`````
126$ mkdir ~/myprofiles && cd ~/myprofiles && cp /etc/firejail/* .
127`````
128Using sed utility, modify the absolute paths for include commands:
129`````
130$ sed -i "s/\/etc\/firejail/\/home\/netblue\/myprofiles/g" *.profile
131$ sed -i "s/\/etc\/firejail/\/home\/netblue\/myprofiles/g" *.inc
132`````
133Start Firejail using the new path:
134`````
135$ firejail --profile-path=~/myprofile
136`````