diff options
author | netblue30 <netblue30@yahoo.com> | 2020-04-21 08:24:28 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2020-04-21 08:24:28 -0400 |
commit | 018d75775eab4a0f045949a9d069c57686ca2686 (patch) | |
tree | aac3a1a65cca0d4875795c55109a5c3e35efdefb /etc/profile-m-z/rsync-download_only.profile | |
parent | small fixes (diff) | |
download | firejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.gz firejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.zst firejail-018d75775eab4a0f045949a9d069c57686ca2686.zip |
reorganize github etc directory
Diffstat (limited to 'etc/profile-m-z/rsync-download_only.profile')
-rw-r--r-- | etc/profile-m-z/rsync-download_only.profile | 59 |
1 files changed, 59 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..a39ff759a --- /dev/null +++ b/etc/profile-m-z/rsync-download_only.profile | |||
@@ -0,0 +1,59 @@ | |||
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-xdg.inc | ||
26 | |||
27 | # Uncomment or add to rsync.local to enable extra hardening | ||
28 | #whitelist ${DOWNLOADS} | ||
29 | include whitelist-var-common.inc | ||
30 | |||
31 | caps.drop all | ||
32 | ipc-namespace | ||
33 | machine-id | ||
34 | netfilter | ||
35 | no3d | ||
36 | nodvd | ||
37 | nogroups | ||
38 | nonewprivs | ||
39 | noroot | ||
40 | nosound | ||
41 | notv | ||
42 | nou2f | ||
43 | novideo | ||
44 | protocol unix,inet,inet6 | ||
45 | seccomp | ||
46 | shell none | ||
47 | tracelog | ||
48 | |||
49 | disable-mnt | ||
50 | private-bin rsync | ||
51 | private-cache | ||
52 | private-dev | ||
53 | private-etc alternatives,ca-certificates,crypto-policies,host.conf,hostname,hosts,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl | ||
54 | private-tmp | ||
55 | |||
56 | dbus-user none | ||
57 | dbus-system none | ||
58 | |||
59 | memory-deny-write-execute | ||