Project

General

Profile

Actions

Bug #15249

closed

EM sets permissions wrong when downloading an extension, causing problems with suphp

Added by Oliver Klee over 18 years ago. Updated about 17 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-11-30
Due date:
% Done:

0%

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

Description

suphp is an Apache module that increases security by making the script file owner execute the corresponding process instead of the apache user. To make this process safer, suphp imposes a few rules. One of those rules is that the script file must only be writable by the user, not the group or the world.

So I changed my whole PHP site directory tree to be writable only by the user. So the permissions of my typo3conf/ext/* directories look like this:

drwxr-xr-x

Yet, when I download an extension from the TER (or from a file), the EM changes the permissions to this:

drwxrwxr-x

The files in that directories and the corresponding subdirectories are also group-writable, which causes them to not get executed any more (error 500).

This makes using Typo3 with suphp really hard as I have to change the permissions every time I download or upgrade an extension.

The EM schould use the drwxr-xr-x permissions when writing the extension to disk (or the permissions need to be configurable).

(issue imported from #M1958)


Files

t3lib_config_default.diff (2.3 KB) t3lib_config_default.diff Administrator Admin, 2005-12-17 12:47

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #14763: Create Files with no correkt umask when using with suphpClosed2005-10-31

Actions
Actions

Also available in: Atom PDF