Project

General

Profile

Actions

Epic #64570

closed

Properly handle different file systems in FAL

Added by Alexander Schnitzler over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2015-01-29
Due date:
% Done:

0%

Estimated time:
Sprint Focus:

Description

Some time ago I realized, that the file system type (case in/sensitive) is set during a TYPO3 installation, which can cause serious troubles if you setup the system on a case insensitive fs, such as the ones of Windows and Mac.

This is a unnecessary pitfall because most websites are served by unix servers, that are case sensitive. So instead of silently detecting and setting the fs option during the installation we should go for strong defaults and a new installation step.

During the installation we could check for a case insensitive file system and warn the user that the default is case sensitive, but with the option to change that during the development phase with a hint to the consequences if one forgets to change that after the deployment.

Additionaly the reports module should be enhanced to show if the current fs matches the fs option of FAL and warn the user.

We have to consider these topics:

Install
  • Should the Installer detect the FS or should we set the default for the default storage to case sensitive with the option to change it afterwards
General
  • Changing the filename / directory name from upper case to lower case (and vise versa) on no case sensitive Filesystems (#25180)

Files

slack-for-64570.txt (3.66 KB) slack-for-64570.txt Ingo Schmitt, 2015-01-30 11:00
Actions #1

Updated by Alexander Schnitzler over 9 years ago

  • Sprint Focus set to On Location Sprint
Actions #2

Updated by Alexander Opitz over 9 years ago

IMHO there are more pitfalls, if you move an installation from one OS to another (for example configuration of image magic), maybe we should firstly write an wiki article about such moves?
This issue can also happen if you move from one partition to another on MacOS X, if the first is ci and the second cs.

Actions #3

Updated by Alexander Schnitzler over 9 years ago

Is this meant to be satire? I don't want wiki articles but strong, sensible defaults and hints during the installation and in the reports module. What's the problem about that?

Actions #4

Updated by Alexander Opitz over 9 years ago

This isn't meant as satire. Is it a strong default, that you install TYPO3 on another system and them move this per file?
I don't have something against adding a warning in Installer/System Environment, as we already discussed on chat, but changing the behavior in the installer? Adding more "hints" which nobody reads?

Actions #5

Updated by Ingo Schmitt over 9 years ago

Moved Slack conversion to file, to have it better readable.

Actions #6

Updated by Ingo Schmitt over 9 years ago

Will add more issues to this EPIC to have everything according to the fileSystem in one epic.

Actions #7

Updated by Ingo Schmitt over 9 years ago

  • Description updated (diff)

Alexander Schnitzler wrote:

Some time ago I realized, that the file system type (case in/sensitive) is set during a TYPO3 installation, which can cause serious troubles if you setup the system on a case insensitive fs, such as the ones of Windows and Mac.

This is a unnecessary pitfall because most websites are served by unix servers, that are case sensitive. So instead of silently detecting and setting the fs option during the installation we should go for strong defaults and a new installation step.

During the installation we could check for a case insensitive file system and warn the user that the default is case sensitive, but with the option to change that during the development phase with a hint to the consequences if one forgets to change that after the deployment.

Additionaly the reports module should be enhanced to show if the current fs matches the fs option of FAL and warn the user.

Actions #8

Updated by Alexander Schnitzler over 9 years ago

Alexander Opitz wrote:

This isn't meant as satire. Is it a strong default, that you install TYPO3 on another system and them move this per file?

It's common practice that websites aren't developed on a live server, so yes, I see that as a strong default.

I don't have something against adding a warning in Installer/System Environment, as we already discussed on chat, but changing the behavior in the installer? Adding more "hints" which nobody reads?

How do you predict that nobody reads it? Having another step with a simple checkbox (use case sensitive fs), enabled by default, with a warning if your fs doesn't match is not even a big deal. If you do not have a case sensitive fs you won't even notice the difference, but vice versa you will. So why would someone ignore this hint when it causes a lot of trouble on live servers if not configured correctly?

Actions #9

Updated by Alexander Opitz over 9 years ago

You want in the installer a hint about that cs/ci thing. But you also mention that the users move their installation by file to the live system. So they don't use the step installer again. So what is the benefit of another step?
The warning in Installer/System Environment, where I'm with you, is a benefit, also a hint that the GM/IM configuration do not match any more is a good hint after such a system switch.

Actions #10

Updated by Alexander Schnitzler over 9 years ago

I don't just want a hint in the installer but a checkbox to choose the fs from which defaults to case sensitive. If you plan to work/release your system on a case insensitive fs later on, you can decide to switch to a case insensitive system during the installation. It's simply a bad habit detecting the fs during the installation and assume it doesn't change. It's like russian roulette because the effects of a wrong settings on a live server are way more severe than a wrong image magick setup for instance.

Actions #11

Updated by Alexander Opitz over 9 years ago

It's simply a bad habit detecting the fs during the installation and assume it doesn't change.

You can change it, per defined storage, so what is wrong? What does it help if you have a a checkbox in the step installer, if you deploy per file on the live box, do you start the step installer?
But maybe we understand us both wrong and you don't mean inside the step installer.

Actions #12

Updated by Ingo Schmitt over 9 years ago

  • Description updated (diff)
Actions #13

Updated by Anja Leichsenring almost 9 years ago

  • Sprint Focus changed from On Location Sprint to Remote Sprint
Actions #14

Updated by Benni Mack over 6 years ago

  • Status changed from New to Needs Feedback

Alex, any concrete todos what we can improve here?

Actions #15

Updated by Alexander Opitz about 6 years ago

  • Status changed from Needs Feedback to Closed
  • Sprint Focus deleted (Remote Sprint)

Spoke with Alex and we decided to close this issue.

Actions

Also available in: Atom PDF