diff options
| author | Félix Sipma <felix.sipma@no-log.org> | 2015-09-12 16:33:16 +0200 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-09-12 12:07:17 -0400 |
| commit | 491f38584e8f7824dd397d81a9b90789eee14ed6 (patch) | |
| tree | 9e7a5622488d83fc589ca2c7d2b7bb4204956ca0 /src | |
| parent | 5bcc57d21f88aedaf708c93495370dc01ff8ee0a (diff) | |
DebianMirror: ensure mirror dir is owned by debmirror:debmirror
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/DebianMirror.hs | 1 |
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") "/" $ |
