Bonjour,

J'ai testé une commande en local, ça marche très bien. Mais lorsque je l'utilise dans les mêmes conditions sur un serveur, ça ne fonctionne plus.

Je dézippe ce fichier dans un répertoire existant avec la même arborescence; ça ajoute ou remplace les fichiers dans l'arborescence.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
 
TAR_SRC=arch.tar.gz
DST_DIR=..
tar xvf $TAR_SRC -C $DST_DIR # l'option z ne fonctionne pas déjà j'ai une erreur avec gzip donc j'ai retiré
Erreurs :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
arch/
arch/d/
arch/d/e/
arch/d/e/patch_7191.txt
arch/d/e/patch_8175.txt
arch/d/e/work/
arch/d/e/work/TEST.SQL
arch/m/
tar: arch/d/e/work: Cannot utime: Operation not permitted
tar: arch/d/e: Cannot utime: Operation not permitted
tar: arch/d: Cannot utime: Operation not permitted
arch/m/ini/
arch/m/ini/test.ini
tar: arch/m/ini: Cannot utime: Operation not permitted
tar: arch/m: Cannot utime: Operation not permitted
tar: Error exit delayed from previous errors
D'où vient cette erreur ?

Merci.