Changes

Jump to navigation Jump to search
2 bytes added ,  23:18, 23 March 2018
Line 13: Line 13:  
  signal-event ibay-modify ibayname
 
  signal-event ibay-modify ibayname
   −
La première propriété active la fonctionnalité Corbeille. La seconde propriété «KeepVersions» garantit que lorsqu'un fichier est supprimé avec le même nom que celui qui a été précédemment supprimé, le dernier fichier supprimé sera appelé «Copy #x» du nom du fichier.
+
La première propriété active la fonctionnalité Corbeille. La seconde propriété «KeepVersions» garantit que lorsqu'un fichier est supprimé avec le même nom que celui qui a été précédemment supprimé, le dernier fichier supprimé sera renommé «Copy #x» du nom du fichier.
    
=== Enable Recycle Bin for users ===
 
=== Enable Recycle Bin for users ===
Line 20: Line 20:  
  db configuration setprop smb KeepVersions enabled
 
  db configuration setprop smb KeepVersions enabled
   −
Expand the template...
+
Développer le modèle...
    
  /sbin/e-smith/expand-template /etc/samba/smb.conf
 
  /sbin/e-smith/expand-template /etc/samba/smb.conf
   −
Remember to restart service...
+
Penser à redémarrer le service...
    
  /etc/rc7.d/S91smb restart
 
  /etc/rc7.d/S91smb restart
Line 133: Line 133:     
You can change the name of the recycle bin by making a copy of the template fragment into the templates-custom tree and making your modifications there.
 
You can change the name of the recycle bin by making a copy of the template fragment into the templates-custom tree and making your modifications there.
<ol></li><li>Create the proper folder structure:
+
<ol><li>Create the proper folder structure:
    
  mkdir -p /etc/e-smith/templates-custom/etc/smb.conf/ibays
 
  mkdir -p /etc/e-smith/templates-custom/etc/smb.conf/ibays
Line 142: Line 142:     
</li><li>Use any editor to make your changes in the copied file
 
</li><li>Use any editor to make your changes in the copied file
   
  nano /etc/e-smith/templates-custom/etc/smb.conf/ibays/10recyclebin
 
  nano /etc/e-smith/templates-custom/etc/smb.conf/ibays/10recyclebin
 
Modifying this line:
 
Modifying this line:
Line 154: Line 153:     
</li><li>Now let the server take the necessary actions to have the changes reflected for all ibays (replace <nowiki><ibayname></nowiki> with the ibayname):
 
</li><li>Now let the server take the necessary actions to have the changes reflected for all ibays (replace <nowiki><ibayname></nowiki> with the ibayname):
   
  signal-event ibay-modify <ibayname>
 
  signal-event ibay-modify <ibayname>
 
</li></ol>
 
</li></ol>
3,054

edits

Navigation menu