Projet

Général

Profil

Actions

Anomalie #4544

fermé

hook git de /etc désactivé sur la vm webchat

Ajouté par Christian P. Momon il y a environ 4 ans. Mis à jour il y a presque 4 ans.

Statut:
Fermé
Priorité:
Normale
Assigné à:
Catégorie:
-
Version cible:
Début:
11/06/2020
Echéance:
% réalisé:

100%

Temps estimé:
Difficulté:
2 Facile

Description

Lors d'un apt-get update sur la vm webchat :

Setting up linux-libc-dev:amd64 (4.19.118-2+deb10u1) ...
hint: The '.git/hooks/post-commit' hook was ignored because it's not set as executable.
hint: You can disable this warning with `git config advice.ignoredHook false`.
[master 9c9595e] committing changes in /etc made by "apt-get dist-upgrade" 
 Author: Christian Pierre MOMON <cmomon@april.org>
 1 file changed, 11 insertions(+), 13 deletions(-)
Scanning processes...                                                                                                                                              

Effectivement un hook git de /etc n'est pas exécutable :

(April) root@webchat:/etc/.git/hooks[GIT_DIR!]# ll
total 52K
-rwxr-xr-x 1 root root  478 Feb 26  2018 applypatch-msg.sample*
-rwxr-xr-x 1 root root  896 Feb 26  2018 commit-msg.sample*
-rw-r--r-- 1 root root  174 Feb 26  2018 post-commit
-rwxr-xr-x 1 root root  189 Feb 26  2018 post-update.sample*

Questions :
  • est-ce grave docteur ?
  • cela a-t-il été désactivé intentionnellement ?
  • faut-il remettre le x sur ce hook ?
Actions

Formats disponibles : Atom PDF