aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/rsync-download_only.profile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
commit018d75775eab4a0f045949a9d069c57686ca2686 (patch)
treeaac3a1a65cca0d4875795c55109a5c3e35efdefb /etc/profile-m-z/rsync-download_only.profile
parentsmall fixes (diff)
downloadfirejail-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.profile59
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
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-xdg.inc
26
27# Uncomment or add to rsync.local to enable extra hardening
28#whitelist ${DOWNLOADS}
29include whitelist-var-common.inc
30
31caps.drop all
32ipc-namespace
33machine-id
34netfilter
35no3d
36nodvd
37nogroups
38nonewprivs
39noroot
40nosound
41notv
42nou2f
43novideo
44protocol unix,inet,inet6
45seccomp
46shell none
47tracelog
48
49disable-mnt
50private-bin rsync
51private-cache
52private-dev
53private-etc alternatives,ca-certificates,crypto-policies,host.conf,hostname,hosts,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl
54private-tmp
55
56dbus-user none
57dbus-system none
58
59memory-deny-write-execute