27-12-2018, 15:17:18
Bonjour,
Nous testons Primtux 4 avec la ville de Grenoble, tout se passe très bien pour le moment, cependant un vieux bug libreoffice refait surface : quand on sauvegarde un fichier existant sur un montage Samba (CIFS) Libreoffice indique "Impossible de créer le fichier de sauvegarde". En cherchant l'erreur en anglais j'ai trouvé ce vieux thread indiquant que cest lié à la fonctionnalité de sauvegarde automatique.
Cette fonctionnalité n'était pas activée dans Primtux 3. Nous l'avons donc re-désactivé via le script suivant :
Nous testons Primtux 4 avec la ville de Grenoble, tout se passe très bien pour le moment, cependant un vieux bug libreoffice refait surface : quand on sauvegarde un fichier existant sur un montage Samba (CIFS) Libreoffice indique "Impossible de créer le fichier de sauvegarde". En cherchant l'erreur en anglais j'ai trouvé ce vieux thread indiquant que cest lié à la fonctionnalité de sauvegarde automatique.
Cette fonctionnalité n'était pas activée dans Primtux 3. Nous l'avons donc re-désactivé via le script suivant :
Code :
#!/bin/bash
# Copyright (C) 2018 Tetras Libre <Contact@Tetras-Libre.fr>
# Author: Beniamine, David <David.Beniamine@Tetras-Libre.fr>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
if [ "`whoami`" != "root" ]
then
echo "This script should be run as root"
exit 1
fi
cd /home
for u in *
do
cd $u/.config/libreoffice/4/user
sed -i.bak -e 's@^\(.*CreateBackup.*\)true\(.*\)$@\1false\2@' registrymodifications.xcu
diff registrymodifications.xcu registrymodifications.xcu.bak
cd /home
done
