From 491f38584e8f7824dd397d81a9b90789eee14ed6 Mon Sep 17 00:00:00 2001 From: Félix Sipma Date: Sat, 12 Sep 2015 16:33:16 +0200 Subject: DebianMirror: ensure mirror dir is owned by debmirror:debmirror Signed-off-by: Félix Sipma --- src/Propellor/Property/DebianMirror.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Propellor/Property/DebianMirror.hs') 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") "/" $ -- cgit v1.2.3