• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 How to set correct perrmission for intire install

#1
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:

Brogan

XenForo moderator
Staff member
#2
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).
 
#3
Yes indeed I'm using a c-panel setup.

So basically I'm doing nothing wrong with having intire setup 0644/0755. On all files and folders