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

XF 1.5 Setting Permission CHMOD 0755 instead of 0777

Discussion in 'Installation, Upgrade, and Import Support' started by scaffolding, Jul 1, 2016.

  1. scaffolding

    scaffolding Member

    Hi, I am installing Xenforo on a shared Linux hosting. However, I am unable to set permission CHMOD 0777 to the two folders data and internal_data as per the installation manual.
    Upon my inquiry, my hosting provider told me that the maximum permission that I would be able to set for these files are CHMOD 0755.
    May I know if there is any problem with that? Or should I consider changing hosting provider?
    Thanks!
     
  2. rainmotorsports

    rainmotorsports Well-Known Member

    There is no reason to set them to 777 on a properly configured server. It's only for cases in which the php handler does not have ownership of the directories. Now some do say there is no risk in 777 on a properly configured server as well. But Xenforo's manual says 777 most likely because it reduces the number of support tickets for server related issues that are not their problem.

    755 is the norm and exactly what is needed unless php doesn't have the needed permissions otherwise.
     
    Jake Bunce and scaffolding like this.

Share This Page