aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar rusty-snake <print_hello_world+Public@protonmail.com>2019-07-25 14:11:08 +0200
committerLibravatar rusty-snake <print_hello_world+Public@protonmail.com>2019-07-25 14:11:08 +0200
commitbdbb57747add56701de85d87b28491b8b82814f6 (patch)
treef640a7534597bf2f2abfe6497719465e36c3ee58
parentfix file-roller.profile (diff)
downloadfirejail-bdbb57747add56701de85d87b28491b8b82814f6.tar.gz
firejail-bdbb57747add56701de85d87b28491b8b82814f6.tar.zst
firejail-bdbb57747add56701de85d87b28491b8b82814f6.zip
Create rsync.profile
-rw-r--r--etc/rsync.profile54
1 files changed, 54 insertions, 0 deletions
diff --git a/etc/rsync.profile b/etc/rsync.profile
new file mode 100644
index 000000000..53dcc6677
--- /dev/null
+++ b/etc/rsync.profile
@@ -0,0 +1,54 @@
1# Firejail profile for rsync
2# Description: a fast, versatile, remote (and local) file-copying tool
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include rsync.local
7# Persistent global definitions
8include globals.local
9
10# This profile is focused on using rsync as an client for downlaoding, it is not writen for using rsync
11# - as an daemon (rsync --daemon)
12# - creating backup of $HOME or a full system
13
14blacklist /tmp/.X11-unix
15
16include disable-common.inc
17include disable-devel.inc
18include disable-exec.inc
19include disable-interpreters.inc
20include disable-passwdmgr.inc
21include disable-programs.inc
22include disable-xdg.inc
23
24# Uncomment or add to rsync.local to enable extra hardening
25#whitelist ${DOWNLOADS}
26include whitelist-var-common.inc
27
28caps.drop all
29ipc-namespace
30machine-id
31netfilter
32no3d
33nodbus
34nodvd
35nogroups
36nonewprivs
37noroot
38nosound
39notv
40nou2f
41novideo
42protocol unix,inet,inet6
43seccomp
44shell none
45tracelog
46
47disable-mnt
48private-bin rsync
49private-cache
50private-dev
51private-etc alternatives,ca-certificates,crypto-policies,host.conf,hostname,hosts,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl
52private-tmp
53
54memory-deny-write-execute