From 178f1b5d50ed4f590bb868398f0267afc7cfc5f3 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Sun, 24 May 2015 23:11:14 +0200 Subject: [PATCH] monit: mount points avec droits 0660 (>=jessie) --- Python/etc/monit/services | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Python/etc/monit/services b/Python/etc/monit/services index 03eb68b..238751b 100644 --- a/Python/etc/monit/services +++ b/Python/etc/monit/services @@ -363,7 +363,9 @@ for line in metadata.Probes["fstab_local"].splitlines(): comment("partition %s" % mntpoint) # Permission attendue - perm = '1660' + perm = '0660' + if has('wheezy'): + perm = '1660' # on vérifie le filesystem directement pour les volumes lvm if fs.startswith('/dev/mapper'):