From bf0dbc01c59c96e66fbcc81d5af3e654e8a01d0c Mon Sep 17 00:00:00 2001 From: netblue30 Date: Sat, 20 Feb 2016 10:37:20 -0500 Subject: wesnoth profile --- Makefile.in | 1 + README | 2 ++ README.md | 2 +- etc/wesnoth.profile | 5 +++++ platform/debian/conffiles | 1 + 5 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index ddc5f89a2..655cc9289 100644 --- a/Makefile.in +++ b/Makefile.in @@ -141,6 +141,7 @@ realinstall: install -c -m 0644 .etc/disable-terminals.inc $(DESTDIR)/$(sysconfdir)/firejail/. install -c -m 0644 .etc/lxterminal.profile $(DESTDIR)/$(sysconfdir)/firejail/. install -c -m 0644 .etc/cherrytree.profile $(DESTDIR)/$(sysconfdir)/firejail/. + install -c -m 0644 .etc/wesnoth.profile $(DESTDIR)/$(sysconfdir)/firejail/. sh -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/$(sysconfdir)/firejail/.; fi;" rm -fr .etc # man pages diff --git a/README b/README index 6a0ecce3b..5f9215039 100644 --- a/README +++ b/README @@ -18,6 +18,8 @@ License: GPL v2 Firejail Authors: netblue30 (netblue30@yahoo.com) +Vasya Novikov (https://github.com/vn971) + - Wesnoth profile mahdi1234 (https://github.com/mahdi1234) - cherrytree profile jrabe (https://github.com/jrabe) diff --git a/README.md b/README.md index 6769ad47e..e528beefa 100644 --- a/README.md +++ b/README.md @@ -102,4 +102,4 @@ $ man firejail-profile ## New security profiles -lxterminal, Epiphany, cherrytree +lxterminal, Epiphany, cherrytree, Battle for Wesnoth diff --git a/etc/wesnoth.profile b/etc/wesnoth.profile index 697b81bcb..5668adff3 100644 --- a/etc/wesnoth.profile +++ b/etc/wesnoth.profile @@ -15,9 +15,14 @@ private-dev private-tmp +mkdir ${HOME}/.local +mkdir ${HOME}/.local/share mkdir ${HOME}/.local/share/wesnoth +mkdir ${HOME}/.config mkdir ${HOME}/.config/wesnoth +mkdir ${HOME}/.cache mkdir ${HOME}/.cache/wesnoth whitelist ${HOME}/.local/share/wesnoth whitelist ${HOME}/.config/wesnoth whitelist ${HOME}/.cache/wesnoth +include /etc/firejail/whitelist-common.inc diff --git a/platform/debian/conffiles b/platform/debian/conffiles index d4c60a339..41a8cfb0b 100644 --- a/platform/debian/conffiles +++ b/platform/debian/conffiles @@ -67,3 +67,4 @@ /etc/disable-terminals.inc /etc/lxterminal.profile /etc/cherrytree.profile +/etc/wesnoth.profile -- cgit v1.2.3-70-g09d2