Skip to content
Snippets Groups Projects
Commit 5a4206b1 authored by Lukas Braun's avatar Lukas Braun
Browse files

debian: fix /var/lib/goatherd mode

parent 6aa92729
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ if test "$1" = "configure"; then ...@@ -9,7 +9,7 @@ if test "$1" = "configure"; then
fi fi
if ! dpkg-statoverride --list $statedir >/dev/nill; then if ! dpkg-statoverride --list $statedir >/dev/nill; then
dpkg-statoverride --quiet --update --add goatherd goatherd 0600 $statedir dpkg-statoverride --quiet --update --add goatherd goatherd 0700 $statedir
fi fi
fi fi
......
...@@ -12,4 +12,4 @@ export GOPATH := /usr/share/gocode ...@@ -12,4 +12,4 @@ export GOPATH := /usr/share/gocode
override_dh_install: override_dh_install:
dh_install dh_install
install -D -t $(CURDIR)/debian/goatherd/etc/ $(CURDIR)/debian/goatherd.conf install -D -t $(CURDIR)/debian/goatherd/etc/ $(CURDIR)/debian/goatherd.conf
install -Dd -m 0600 $(CURDIR)/debian/goatherd/var/lib/goatherd install -Dd -m 0700 $(CURDIR)/debian/goatherd/var/lib/goatherd
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment