alchemisto Posted August 4, 2010 Share Posted August 4, 2010 I recently install a prestashop on a Litespeed server and it didn't pass the configuration check (during installation process) until I chmod the directory of img, download, upload, translation, sitemap.xml, etc to 777. Basically it only works if I chmod almost all directories and files to 777. If I chmod 644 for settings.inc.php it won't be editable if I want to change the themes. So I chmod it to 777.The other case, I move a prestashop from a non-Litespeed server to a Litespeed server via cpanel cpmove. And again, it shows blank screen until I chmod almost all dir to 777.My question is, is it safe to do this way? Will it harm my sites from hacker attack?I hope someone could give some clue for this issue. Link to comment Share on other sites More sharing options...
rocky Posted August 5, 2010 Share Posted August 5, 2010 Using chmod 777 permissions makes your files writable to everyone, so hackers can modify your code and inject malware. You should change to another host that does work with chmod 755 for directories and chmod 644 for files. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now