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

XF 1.4 Is there a list of folders and filed CMOD settings for XF?

WCFA

Active member
#1
Hi there,
My site is running well but I have to ask Is there a list of folders and filed CMOD settings for XF?
I had my hosting company move me to a real fast server yet I found some permissions on folders changed.
So far no errors, but from hunting and pecking have found that should be a certain setting but unsure of all.

So would like to make sure I do not have security vulnerabilities by having the wrong CMODs on files or folders.
Thank You
 

Jake Bunce

XenForo moderator
Staff member
#2
It depends on your server setup. But usually the directories are 755 and the files are 644. data and internal_data should be writable which is either 755 or 777 depending on your server setup.
 

WCFA

Active member
#3
Hi there, that is the issues is I am unsure which folders may have changed. And knowing what settings on the
server correlate with the folders and files would be guessing at best.
 

Jake Bunce

XenForo moderator
Staff member
#4
Probably not worth worrying about unless you are experiencing errors.

If you have shell access then you can run this command to set permissions recursively if you wish:

Code:
chmod -R 755 yourXFdirectory