summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2021-08-20 02:32:59 -1000
committerMarc Schiffbauer <mschiff@gentoo.org>2021-08-20 02:32:59 -1000
commit2957a300fdebd1ecba8e7041ba4cf71f56729dbc (patch)
treeb9084d691ce94460e5030e6c44efee27393ef158 /app-backup/bareos/files/bareos-fd.initd
parentdev-python/bareos: bump 20.0.1 -> 20.0.2 (diff)
downloadgentoo-2957a300fdebd1ecba8e7041ba4cf71f56729dbc.tar.gz
gentoo-2957a300fdebd1ecba8e7041ba4cf71f56729dbc.tar.bz2
gentoo-2957a300fdebd1ecba8e7041ba4cf71f56729dbc.zip
app-bareos: harden pid directory
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'app-backup/bareos/files/bareos-fd.initd')
-rw-r--r--app-backup/bareos/files/bareos-fd.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-backup/bareos/files/bareos-fd.initd b/app-backup/bareos/files/bareos-fd.initd
index e272daa88ecd..e65e6c80f32b 100644
--- a/app-backup/bareos/files/bareos-fd.initd
+++ b/app-backup/bareos/files/bareos-fd.initd
@@ -8,7 +8,7 @@ depend() {
start() {
ebegin "Starting bareos file daemon"
- checkpath -d -m 0750 /run/bareos
+ checkpath -d -m 0750 -o root:bareos /run/bareos
start-stop-daemon --start --quiet --exec /usr/sbin/bareos-fd \
-- ${FD_OPTIONS}
eend $?