Outside public_html file permission wrong
Hello Team
In C panel if I host files outside publci_html, giving files and folder permission issue.
But the website will work, But its showing wrong file issues.
Please find the attachment below.
Awaiting for your response.
Thanks
-
Hello, If you upload data outside the public_html and give permissions to files and folders then that will be risky for your data as well as mails. I would like to suggest you to move website data under public_html and give correct permission. 0 -
woudn't a subdomain or password protected folder be a better more secure option ? 0 -
Hello, There are a lot of different things that could cause that error. It's not possible to tell from the screenshot exactly what is wrong. What are the ownership and file permissions on /home/USERNAME/publi/storage/ directory and the directories leading up to it? The "namei -l" shell command is useful for checking this. What user are your PHP processes running as? The standard configuration is to run the processes as the cPanel user that owns the website, but some configurations can lead to it running as "nobody" instead. See the "What's the importance of running scripts as the user?" section of for some more information regarding that. 0
Please sign in to leave a comment.
Comments
3 comments