aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/gnome-schedule.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-a-l/gnome-schedule.profile')
-rw-r--r--etc/profile-a-l/gnome-schedule.profile65
1 files changed, 65 insertions, 0 deletions
diff --git a/etc/profile-a-l/gnome-schedule.profile b/etc/profile-a-l/gnome-schedule.profile
new file mode 100644
index 000000000..55913a2d7
--- /dev/null
+++ b/etc/profile-a-l/gnome-schedule.profile
@@ -0,0 +1,65 @@
1# Firejail profile for gnome-schedule
2# Description: Graphical interface to crontab and at for GNOME
3# This file is overwritten after every install/update
4# Persistent local customizations
5include gnome-schedule.local
6# Persistent global definitions
7include globals.local
8
9noblacklist ${HOME}/.gnome/gnome-schedule
10
11# Needs at and crontab to read/write user cron
12noblacklist ${PATH}/at
13noblacklist ${PATH}/crontab
14
15# Needs access to these files/dirs
16noblacklist /etc/cron.allow
17noblacklist /etc/cron.deny
18noblacklist /etc/shadow
19noblacklist /var/spool/cron
20
21# cron job testing needs a terminal, resulting in sandbox escape (see disable-common.inc)
22# add 'noblacklist ${PATH}/your-terminal' to gnome-schedule.local if you need that functionality
23
24# Allow python (blacklisted by disable-interpreters.inc)
25include allow-python2.inc
26include allow-python3.inc
27
28include disable-common.inc
29include disable-devel.inc
30include disable-exec.inc
31include disable-interpreters.inc
32include disable-passwdmgr.inc
33include disable-programs.inc
34include disable-xdg.inc
35
36mkfile ${HOME}/.gnome/gnome-schedule
37whitelist ${HOME}/.gnome/gnome-schedule
38whitelist /usr/share/gnome-schedule
39whitelist /var/spool/atd
40whitelist /var/spool/cron
41include whitelist-common.inc
42include whitelist-runuser-common.inc
43include whitelist-usr-share-common.inc
44include whitelist-var-common.inc
45
46apparmor
47caps.keep chown,dac_override,setgid,setuid
48ipc-namespace
49machine-id
50#net none - breaks on Ubuntu
51no3d
52nodvd
53nogroups
54nosound
55notv
56nou2f
57novideo
58shell none
59tracelog
60
61disable-mnt
62private-cache
63private-dev
64writable-var
65