diff options
Diffstat (limited to 'etc/profile-m-z/rsync-download_only.profile')
-rw-r--r-- | etc/profile-m-z/rsync-download_only.profile | 60 |
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 | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include rsync.local | ||
7 | # Persistent global definitions | ||
8 | include 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 | |||
15 | blacklist /tmp/.X11-unix | ||
16 | blacklist ${RUNUSER}/wayland-* | ||
17 | blacklist ${RUNUSER} | ||
18 | |||
19 | include disable-common.inc | ||
20 | include disable-devel.inc | ||
21 | include disable-exec.inc | ||
22 | include disable-interpreters.inc | ||
23 | include disable-passwdmgr.inc | ||
24 | include disable-programs.inc | ||
25 | include disable-shell.inc | ||
26 | include disable-xdg.inc | ||
27 | |||
28 | # Uncomment or add to rsync.local to enable extra hardening | ||
29 | #whitelist ${DOWNLOADS} | ||
30 | include whitelist-var-common.inc | ||
31 | |||
32 | caps.drop all | ||
33 | ipc-namespace | ||
34 | machine-id | ||
35 | netfilter | ||
36 | no3d | ||
37 | nodvd | ||
38 | nogroups | ||
39 | nonewprivs | ||
40 | noroot | ||
41 | nosound | ||
42 | notv | ||
43 | nou2f | ||
44 | novideo | ||
45 | protocol unix,inet,inet6 | ||
46 | seccomp | ||
47 | shell none | ||
48 | tracelog | ||
49 | |||
50 | disable-mnt | ||
51 | private-bin rsync | ||
52 | private-cache | ||
53 | private-dev | ||
54 | private-etc alternatives,ca-certificates,crypto-policies,host.conf,hostname,hosts,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl | ||
55 | private-tmp | ||
56 | |||
57 | dbus-user none | ||
58 | dbus-system none | ||
59 | |||
60 | memory-deny-write-execute | ||