summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Propellor/Property/DebianMirror.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Property/DebianMirror.hs b/src/Propellor/Property/DebianMirror.hs
index 252520c7..aeac8d42 100644
--- a/src/Propellor/Property/DebianMirror.hs
+++ b/src/Propellor/Property/DebianMirror.hs
@@ -30,6 +30,7 @@ mirror url dir suites archs sections source priorities crontimes = propertyList
[ Apt.installed ["debmirror"]
, User.accountFor "debmirror"
, File.dirExists dir
+ , File.ownerGroup dir (User "debmirror") (Group "debmirror")
, check (not . and <$> mapM suitemirrored suites) $ cmdProperty "debmirror" args
`describe` "debmirror setup"
, Cron.niceJob ("debmirror_" ++ dir) crontimes (User "debmirror") "/" $