Ticket #36307

lha p can create symlinks

Date d'ouverture: 2016-05-06 04:58 Dernière mise à jour: 2016-05-07 16:32

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun

Détails

From the description of the "lha p" command it appears like its purpose is purely to print content of an archive to stdout. However - to my surprise - there seem to be ways to create directory with it, which I think is a bug.

E.g. creating an archive with a symlink and passing that to lha p will create that symlink:

ln -s x y
lha a test.lha y
rm y
lha p test.lha
# symlink y appears, which shouldn't happen

Ticket History (3/3 Histories)

2016-05-06 04:58 Updated by: hanno
  • New Ticket "lha p can create symlinks" created
2016-05-06 12:14 Updated by: arai
  • Propriétaire Update from (Aucun) to arai
2016-05-07 16:32 Updated by: arai
  • État Update from Ouvert to Atteints
  • Ticket Close date is changed to 2016-05-07 16:32
Commentaire

Fixed at b662b83

Attachment File List

No attachments

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion