Project

General

Profile

Actions

Bug #20895

closed

File-module can't delete directory

Added by Niels Fröhling over 15 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-08-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Having a directory named

"come_on_..."

in fileadmin/ makes TYPO3 choke this way:

" 2: Target seemed not to be a directory! (Shouldn't happen here!)"

(issue imported from #M11735)

Actions #1

Updated by Niels Fröhling over 15 years ago

"gulfstream_warming_inc."

fails too

Actions #2

Updated by Marcus Krause over 15 years ago

Might indicate a security problem. For now, I'll mark this issue private!

Marcus Krause
Member TYPO3 Security Team

Actions #3

Updated by Helmut Hummel almost 14 years ago

I cannot reproduce. In which version should this be a problem?

Actions #4

Updated by Steffen Gebert almost 14 years ago

Is it about the dots? I get "1: Old and new name is the same" when adding trailing dots.

Actions #5

Updated by Helmut Hummel almost 14 years ago

because the dots are stripped... I don't know what the problem was here...

Actions #6

Updated by Steffen Gebert almost 14 years ago

Sorry.. misunderstood (not about renaming).

Can confirm that deleting a directory called

test_foo_bazz...
(yes, it contains the dots) is not possible. However it's also not possible to create such a directory using TYPO3.

We already discussed a vers similar thing once.. not possible to create -> no problem when not possible to delete.

As long it's not a security issue -> won't fix

Actions #7

Updated by Helmut Hummel almost 14 years ago

Ah, deleting ...

I also read "renaming"

Actions #8

Updated by Helmut Hummel almost 14 years ago

It's no security issue. The directory name is cleaned before it gets deleted. The cleaned name is not found then.

Actions

Also available in: Atom PDF