From 8516ac930266c5268bf4b8560b7f1b16138f5e31 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 24 Aug 2012 17:43:30 +0200 Subject: [PATCH] Marquer les partages intranet, extranet et tools comme non supprimables --- root/etc/e-smith/events/actions/ipasserelle-init-shares | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/root/etc/e-smith/events/actions/ipasserelle-init-shares b/root/etc/e-smith/events/actions/ipasserelle-init-shares index a262231..bf9c1d6 100644 --- a/root/etc/e-smith/events/actions/ipasserelle-init-shares +++ b/root/etc/e-smith/events/actions/ipasserelle-init-shares @@ -37,7 +37,8 @@ if (!$intranet){ WriteGroups => 'admins,equipe', smbAccess => 'browseable', httpAccess => 'none', - RecycleBin => 'disabled' + RecycleBin => 'disabled', + Removable => 'no' }); unless ( system("/sbin/e-smith/signal-event", "share-create", "intranet") == 0 ){ @@ -58,7 +59,8 @@ if (!$extranet){ RequireSSL => 'disabled', Indexes => 'enabled', DynamicContent => 'disabled', - RecycleBin => 'disabled' + RecycleBin => 'disabled', + Removable => 'no' }); unless ( system("/sbin/e-smith/signal-event", "share-create", "extranet") == 0 ){ @@ -80,7 +82,8 @@ if (!$tools){ RequireSSL => 'disabled', Indexes => 'enabled', DynamicContent => 'disabled', - RecycleBin => 'disabled' + RecycleBin => 'disabled', + Removable => 'no' }); unless ( system("/sbin/e-smith/signal-event", "share-create", "tools") == 0 ){