Marquer les partages intranet, extranet et tools comme non supprimables

tags/ipasserelle-base-0.2.65-1
Daniel Berteaud 12 years ago
parent 6e41dc477d
commit 8516ac9302
  1. 9
      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 ){

Loading…
Cancel
Save