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


Discussion in 'Forum Management' started by shawn, Feb 7, 2014.

  1. shawn

    shawn Well-Known Member

    I was reminded earlier today about one of my biggest XF peeves: The repeated and frequent insistence by a whole lot of folks that data and internal_data need to be set to 777 because it's a "XenForo Requirement". The requirements may in fact tell you to do it, but it's bad form. All you really need to do is ensure that your webserver can write to the directory. That's it. That might mean chowning the directory apache:apache and setting the permissions to 700. It might mean chowning it to root:apache and setting it to 775. But 777 is not required.
  2. RoldanLT

    RoldanLT Well-Known Member

    All my folders are chmod 755 :)
  3. Moshe1010

    Moshe1010 Well-Known Member

    All my files are 644 and folders are 755 (with PHP SuEXEC [LiteSpeed] enabled).
  4. Brogan

    Brogan XenForo Moderator Staff Member

    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)
    RoldanLT likes this.
  5. Lone Fox

    Lone Fox Member

    I've learned that I still have a lot to learn.

Share This Page