XF 1.5 Folder Permissions


Active member
This may be a really dumb, but quick question...

During installing XenForo you must set the permissions on both the data and internal_data folders to o777.

I set them back to 0775 after everything was installed, but should I have left them at 0777 instead?



XenForo moderator
Staff member
You should only need to change them if prompted to do so during the installation (generally if PHP isn't running as the FTP user).

The /data and /internal_data directories should be:
  • 0666/0777 if PHP runs as "nobody" (the web server user)
  • 0644/0755 if it runs as "your" user (suPHP for example)

0644/0755 only works if PHP is running as the user that owns the file (generally with cpanel setups).