[TYPO3-english] Correct file permissions for Typo3

Manfred Palmer admin at silverpark.net
Thu Apr 15 15:00:50 CEST 2010


Hello all,

I am trying to install and configure Typo3 4.3.2 and ran into a few 
problems related to file and folder permissions..

I've already set up another installation recently, but I began getting 
internal server errors and 404's when trying to access certain backend 
areas, so I decided it would be safer to start over.

To avoid the same problem happening again this time, I am trying to make 
sure that I am defining the correct parameters required by Typo3 and its 
extensions..

Here are the steps I've taken:

1) I've uploaded and extracted the 'typo3_src+dummy-4.3.2' package 
through my webhost's control panel to the server. By default, the 
control panel's file manager automatically set permissions for all 
folders to "755", and "644" for all files.

2) Based on suggestions here on these mailing lists and some online 
tutorials, I modified the permissions of...

/typo3temp
/typo3/temp
/typo3conf
localconf.php

..and changed them to "775".

(all remaining files are still at their default setting "644")

Are those steps sufficient? I am wondering a bit about all the .php and 
image files, included with Typo3 - Don't they need to be "executable" as 
well? The setting "644" would mean those files would have only 'read' 
and 'write' permissions, but they wouldn't be 'executable'. *ponders*

Apart from that, are any specific group and user ownerships required? I 
noticed some people recommending to change the ownerships to "www-data", 
"apache", or something similar. Now I don't have root access and won't 
be able to do that, but I suppose I could change the user or group ID 
through a regular ftp program, if need be. My group is called "571" 
apparently, so far I don't think any files or folders have that flag set 
or activated.


Respectfully submitted,
Manfred Palmer





More information about the TYPO3-english mailing list