Changed webhoster - now problems with file permissions

snoopy5

Well-known member
Hi,

I transferred today to a new webhoster. The forums seems to be o.k., but there is no textbox anymore to reply to a thread. I also can not open a newthread (i can open, but there is no textbox to write something)

It seems that there is a file permission problem. With the new webhoster, all folders should be normally 755 and all files 644. But I do not know which files/folders are responsible for the textboxes. Does anybody know?

Is there a script with which I can change with a click all folders on my domain to 755 and all files 644?
 
NGINX?

If yes, then run via cli

Code:
find /home/nginx/domains/YOUR_DOMAIN/public/ -type d -exec chown -R nginx:nginx {} \;
find /home/nginx/domains/YOUR_DOMAIN/public/ -type f -exec chown -R nginx:nginx {} \;

find /home/nginx/domains/YOUR_DOMAIN/public/ -type d -exec chmod -R 755 {} \;
find /home/nginx/domains/YOUR_DOMAIN/public/ -type f -exec chmod -R 644 {} \;
 
This, just set the path to your files

Code:
find /home/nginx/domains/YOUR_DOMAIN/public/ -type d -exec chmod -R 755 {} \;
find /home/nginx/domains/YOUR_DOMAIN/public/ -type f -exec chmod -R 644 {} \;
 
Top Bottom