aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/rsync-download_only.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-m-z/rsync-download_only.profile')
-rw-r--r--etc/profile-m-z/rsync-download_only.profile60
1 files changed, 60 insertions, 0 deletions
diff --git a/etc/profile-m-z/rsync-download_only.profile b/etc/profile-m-z/rsync-download_only.profile
new file mode 100644
index 000000000..95deed119
--- /dev/null
+++ b/etc/profile-m-z/rsync-download_only.profile
@@ -0,0 +1,60 @@
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# Warning: This profile is writte to use rsync as an client for downloading,
11# it is not writen to use rsync as an daemon (rsync --daemon) or to create backups.
12
13# Usage: firejail --profile=rsync-download_only rsync
14
15blacklist /tmp/.X11-unix
16blacklist ${RUNUSER}/wayland-*
17blacklist ${RUNUSER}
18
19include disable-common.inc
20include disable-devel.inc
21include disable-exec.inc
22include disable-interpreters.inc
23include disable-passwdmgr.inc
24include disable-programs.inc
25include disable-shell.inc
26include disable-xdg.inc
27
28# Uncomment or add to rsync.local to enable extra hardening
29#whitelist ${DOWNLOADS}
30include whitelist-var-common.inc
31
32caps.drop all
33ipc-namespace
34machine-id
35netfilter
36no3d
37nodvd
38nogroups
39nonewprivs
40noroot
41nosound
42notv
43nou2f
44novideo
45protocol unix,inet,inet6
46seccomp
47shell none
48tracelog
49
50disable-mnt
51private-bin rsync
52private-cache
53private-dev
54private-etc alternatives,ca-certificates,crypto-policies,host.conf,hostname,hosts,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl
55private-tmp
56
57dbus-user none
58dbus-system none
59
60memory-deny-write-execute