Skip to content

Commit

Permalink
app-backup/burp: fix /etc/burp permissions in the OpenRC init script
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Szuba <[email protected]>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
  • Loading branch information
Marek Szuba committed Mar 25, 2019
1 parent 8bffcba commit 4b3a76d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app-backup/burp/files/burp.initd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

BURP_CONFIG="/etc/burp/burp-server.conf"
Expand Down Expand Up @@ -28,7 +28,7 @@ depend() {
}

start_pre() {
checkpath -o root:burp -m 0775 -d /etc/burp
checkpath -o root:burp -m 0750 -d /etc/burp
checkpath -o root:burp -m 0640 -f /etc/burp/burp-server.conf
checkpath -o root:burp -m 0750 -d /etc/burp/clientconfdir
checkpath -o root:burp -m 0770 -d "$(get_backup_dir)"
Expand Down

0 comments on commit 4b3a76d

Please sign in to comment.