Bug #34614

Evil packed bz2 package

Added by Jan Roth over 3 years ago. Updated about 3 years ago.

Status:Resolved Start date:2012-03-06
Priority:Must have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Build Process
Target version:1.0.5
Affected Flow version:FLOW3 1.0.3

Description

in the FLOW3-1.0.3.tar.bz2 file is a bad fileentry for ./ . if you untar this bz2 file as root, you change your directory owner and group for your current directory.
That is very bad...... After i untar it, i can't not login via ssh and public key to my maschine, because openssh can't access my authorized_keys file.

Please fix this issue, it was very time expensive...

History

#1 Updated by Karsten Dambekalns over 3 years ago

  • Category set to Build Process
  • Status changed from New to Accepted
  • Assigned To changed from Mr. Jenkins to Karsten Dambekalns
  • Target version set to 1.0.4

#2 Updated by Karsten Dambekalns over 3 years ago

  • Target version changed from 1.0.4 to 1.0.5

#3 Updated by Karsten Dambekalns about 3 years ago

Here's the catch:

tar --transform="s,^./,FLOW3-1.1.0-beta2/," --exclude=".git*" --exclude="Data/*" --exclude="Web/_Resources/*" --exclude="Build/Reports" --exclude="./Cache" --exclude="Configuration/PackageStates.php" -czf ~/FLOW3-1.1.0-beta2.tar.gz --directory ~/Sites/flow3 .

is used to create the archives. But the transform regex works not on . thus that entry is left alone and ends up in the archive.

#4 Updated by Gerrit Code Review about 3 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11690

#5 Updated by Gerrit Code Review about 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11690

#6 Updated by Gerrit Code Review about 3 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11690

#7 Updated by Karsten Dambekalns about 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF