XF 1.4 How to set correct perrmission for intire install

zadow

Member
Wanna ask if my permissions are correct for intire install

I have max permission from isp server 755.



Now my Public_html is 755

all files recursive is 644 also in subfolders.
And all folders recursive are 755 also in subfolders.

if i then set internal_data and data to folder recursive 777 i get error. Isp wont allow this.
 
Last edited:
In general files and directories should be 0644 and 0755 respectively.

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).
 
Top Bottom