j'ai un problème bizarre avec tar:
je crée une archive d'un projet. Toutes les permissions associées aux fichiers sont bien prises en compte:
> tar tzvf aviinfo-1.0.tgz
drwxr-xr-x ff211488/saphyr 0 2006-08-24 16:21:12 aviinfo-1.0/
-rw-rw-rw- ff211488/saphyr 9928 2006-08-24 13:36:25 aviinfo-1.0/Doxyfile
-rw-rw-rw- ff211488/saphyr 4729 2006-08-24 13:40:27 aviinfo-1.0/aviheader.h
-rw-rw-rw- ff211488/saphyr 4990 2006-08-23 16:45:38 aviinfo-1.0/aviheader.c
[...] |
Le problème, c'est que lorsque je détarre le tout, tous les fichiers sont extraits avec tous les droits (rwxrwxrwx) même lorsque je précise l'option -p à tar:
~/perso/devel> tar xzpf aviinfo-1.0.tgz ~/perso/devel> ls -l aviinfo-1.0
drwxr-xr-x 2 ff211488 saphyr 4096 aoû 24 16:21 .
-rwxrwxrwx 1 ff211488 saphyr 9928 aoû 24 13:36 Doxyfile
-rwxrwxrwx 1 ff211488 saphyr 4990 aoû 23 16:45 aviheader.c
-rwxrwxrwx 1 ff211488 saphyr 4729 aoû 24 13:40 aviheader.h
[...] |
C'est pas très grave, mais ça me force à tout chmoder à chaque fois et ça devient lourd à la fin. En plus, c'est bizarre, ça ne me le fait qu'au boulot.
Quelqu'un sait d'où pourrait venir le problème ?
Merci
---------------
TriScale innov