XF 1.4 What are the default permissions?

Verringer

Active member
I've moved servers and had a lot of issues, I had to reset my permissions for /usr/share/nginx/html so I ran 'chmod -R 000 /usr/share/nginx/html'

Could anybody tell me how to reset this to what it used to be? I can't find the default permissions I need (excluding 0777 for internal_data and data)
 
In general, files and directories should be 0644 and 0755 respectively.

The /data and /internal_data directories should be 0777 (recursively).
 
In general, files and directories should be 0644 and 0755 respectively.

The /data and /internal_data directories should be 0777 (recursively).

So,

chmod -R 0644 html (to correct the files & folders inside the html folder)
chmod 0755 html (set the html folder permissions)
chmod -R 0777 html/internal_data html/data

Should work? I've done this and it returns a white page (aka not working).
 
Use this for folder

Code:
find /your/path/ -type d -exec chmod -R 755 {} \;

for file:
Code:
find /your/path/ -type f -exec chmod -R 644 {} \;

-edit-
Don't forget to check chown.
 
In general, files and directories should be 0644 and 0755 respectively.

The /data and /internal_data directories should be 0777 (recursively).

I'm having an Nginx permission issue. I shouldn't have a problem recursively mass changing everything to these permissions, right? No security issues?
 
Last edited:
Top Bottom