How to … set permission chmod for TYPO3

How to

After installing the TYPO3 source on your server, you must set the write permissions with chmod.

In this post i will show you my config, it works 100%

The following folders on the server can modify with a standard ftp program like filezilla.

CHMOD 755 (or 757)

typo3temp/
- /cs
- /GB
- /llxml
- /locks
- /pics
- /temp

typo3conf/
- /ext
- /l10n
typo3/ext/
uploads/ (and all subfolders)
fileadmin/ (and all subfolders)

This setting will allow you and your FE-Users to upload and manage your files easily.

Its also possible to use the SSH script to set the permissons, but i dont have experience with this. I found a little code snippet for shell setting:

#!/bin/sh
chmod 755 typo3temp

chmod 755 … (have a look  at the folders above)

In the TYPO3 Install Tool you can check the permissions (picture):

rechte

For any further questions – contact me or leave a comment.

Martin

EDIT:  I changed my post from chmod 757 to 755 – look at the comments.
But some extensions on some servers need apparently the 757 or 777.  So first try 755, if those seem not enough, make it 757.Thanks Michael!

Related posts:

  1. How to … update TYPO3 4.2
  2. Problems after upgrading TYPO3 4.2 to 4.3 with stylesheets and images
  3. TYPO3 Version 4.4.0 released
  4. How to … set the favicon in TYPO3
  5. How to delete csc-default and id tag in TYPO3 4.3
  6. TYPO3 ver. 4.3 released
  7. How to … convert HTML-Content to PDF File in TYPO3
  8. How to … sort the feuserlist in TYPO3

5 Responses to “How to … set permission chmod for TYPO3”


  1. 1 Michael Cannon

    Setting the other bit, the last 7 in 757, lets any user on the server have access to the files and thererfore they can change them. This is a very dangerous situation.

    It’s recommended to find out the group that your webserver is running as and then `chgrp -R WEB_SERVER_GROUP_NAME fileadmin uploads typo3conf typo3temp` and then `chmod -R g+w fileadmin uploads typo3conf typo3temp`.

    This way only the webserver, besides your own normal server user have access to uploading and changing files.

    It’s true that changing group via FTP might be difficult, but this is a case where contacting your hosting provider to make the change is a worthwhile endeavor.

  2. 2 blumentritt

    hi michael,

    thanks for your message.
    the official and current install.txt from typo3 describes:
    ” … ensure the following files & folders are writable by the server…/typo3temp, /typo3/temp, /typo3conf/localconf.php (chmod 755 or 777) ”

    Perhaps a chmod 757 is enough ?!
    i will test it again.
    thanks, martin

  1. 1 Back-up funktioniert nicht richtig - TYPO3 Forum & Portal
  2. 2 Serverinstallation - TYPO3 Forum & Portal
  3. 3 3-Step Installation Typo - Warning beim aufruf von localhost - TYPO3 Forum & Portal

Leave a Reply