1. 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

Discussion in 'Troubleshooting and Problems' started by zadow, Aug 19, 2015.

  1. zadow

    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: Aug 19, 2015
  2. Brogan

    Brogan XenForo Moderator Staff Member

    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).
    zadow likes this.
  3. zadow

    zadow Member

    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
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It should be fine.
    zadow likes this.

Share This Page