Project

General

Profile

Actions

Bug #57413

closed

Symlink check on /typo3 directory is not working correctly if target ends with a slash

Added by Jana Golinowski over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2014-03-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I just did a test installation of TYPO3 6.2 and noticed that the Install Tool doesn't recognize my symlink for /typo3.

I created this symlink using tab-completion so the link target ends with a slash. But the Install Tool seems not to be able to read the target in that case.

Install Tool message:

/typo3 is a link, but link target is not as specified
Link target should be typo3_src/typo3 but is typo3_src/typo3/

Symlink commands causing that message:

$ ln -s typo3_src/typo3/
$ ln -s typo3_src/typo3/ .
$ ln -s typo3_src/typo3/ typo3

Symlink command NOT causing that message:

$ ln -s typo3_src/typo3
$ ln -s typo3_src/typo3 .
$ ln -s typo3_src/typo3 typo3

A simple cli test is working for both cases:

$ ln -s typo3_src/typo3
$ php -r "var_dump(readlink('typo3'));" 
string(15) "typo3_src/typo3" 
$ ln -s typo3_src/typo3/
$ php -r "var_dump(readlink('typo3'));" 
string(16) "typo3_src/typo3/" 

Actions

Also available in: Atom PDF