aboutsummaryrefslogtreecommitdiffstats
path: root/etc/gnome-schedule.profile
blob: d856c1f836b563fe184b8660cce25f7368c1e5c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Firejail profile for gnome-schedule
# Description: Graphical interface to crontab and at for GNOME
# This file is overwritten after every install/update
# Persistent local customizations
include gnome-schedule.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.gnome/gnome-schedule

# Needs at and crontab to read/write user cron
noblacklist ${PATH}/at
noblacklist ${PATH}/crontab

# Needs access to these files/dirs
noblacklist /etc/cron.allow
noblacklist /etc/cron.deny
noblacklist /etc/shadow
noblacklist /var/spool/cron

# Needs a terminal for cron job test execution
noblacklist ${PATH}/lxterminal
noblacklist ${PATH}/gnome-terminal
noblacklist ${PATH}/gnome-terminal.wrapper
noblacklist ${PATH}/lilyterm
noblacklist ${PATH}/mate-terminal
noblacklist ${PATH}/mate-terminal.wrapper
noblacklist ${PATH}/pantheon-terminal
noblacklist ${PATH}/roxterm
noblacklist ${PATH}/roxterm-config
noblacklist ${PATH}/terminix
noblacklist ${PATH}/tilix
noblacklist ${PATH}/urxvtc
noblacklist ${PATH}/urxvtcd
noblacklist ${PATH}/xfce4-terminal
noblacklist ${PATH}/xfce4-terminal.wrapper

# Allow python (disabled by disable-interpreters.inc)
noblacklist ${PATH}/python2*
noblacklist ${PATH}/python3*
noblacklist /usr/lib/python2*
noblacklist /usr/lib/python3*

include disable-common.inc
include disable-devel.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc
include disable-xdg.inc

mkfile ${HOME}/.gnome/gnome-schedule
whitelist ${HOME}/.gnome/gnome-schedule
include whitelist-common.inc

apparmor
caps.keep chown,dac_override,setgid,setuid
ipc-namespace
machine-id
net none
no3d
nodvd
nogroups
nosound
notv
nou2f
novideo
shell none
tracelog

disable-mnt
private-cache
private-dev
# private-etc alternatives
writable-var

noexec ${HOME}
noexec /tmp