Project

General

Profile

Actions

Bug #59510

closed

Use relative path to typo3_src-x.y.z (symbolic link)

Added by Michael Schams almost 10 years ago. Updated over 5 years ago.

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

0%

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

Description

Install Tool -> Important Actions -> Core Update

After downloading and extracting a new TYPO3 core package, the symlink is updated automatically, pointing to the new source directory.
For example (an update from 6.2.2 to 6.2.3):

lrwxrwxrwx typo3_src -> /home/ernie/www/htdocs/typo3_src-6.2.3
drwxr-sr-x typo3_src-6.2.2
drwxr-sr-x typo3_src-6.2.3

Using an absolute path to the target directory (here: /home/ernie/www/htdocs/typo3_src-6.2.3) makes it hard(er) to move instances around, e.g. from user "ernie" to user "bert" :-) Typically, you only need to move/copy directory "www" from /home/ernie/ to /home/bert/ (plus the adjustment of permissions), but in this case, this would not work.

Another example could be a change of the path, e.g. from /home/ernie/www/htdocs/ to /home/ernie/public_html/.

A more robust and admin-friendly solution would be to check (before the core update), if the symlink points to a relative directory and in this case, retain this option, rather than changing to an absolute path.

lrwxrwxrwx typo3_src -> typo3_src-6.2.3
drwxr-sr-x typo3_src-6.2.2
drwxr-sr-x typo3_src-6.2.3

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #58000: Update 6.2.0 to 6.2.1 via Installtool -> wrong Symlink? (Mittwald Hoster)Closed2014-04-17

Actions
Actions #1

Updated by Falko Trojahn over 9 years ago

I'd rather consider this a bug, doing core update in install tool from 6.2.6 to 6.2.7 made an installation unusable: the typo3_src link pointed to the wrong absolute path /html/typo3_src-6.2.7 instead of /website/home/directory/html/typo3_src-6.2.7.

I think the newer typo3_src should be unpacked where the old one is located, e.g. if the link points to ../typo3/typo3_src-6.2.6, the new source folder should go to ../typo3/ and the link be set accordingly.

Actions #2

Updated by Frederic Gaus about 9 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF