info@globalmcs.net Tampa Bay Based ยท Nationwide Service
24/7 Monitoring & Support

How to change and configure File Permissions (chmod 755 / 644)

Control Panel FAQs icon
Category: Control Panel FAQs Verified Support Answer

Detailed Answer:

For typical Linux hosting, 755 is a common directory permission and 644 is common for files, including PHP files served through the web server. These are starting points, not universal rules: ownership, the PHP handler, application requirements, and ACLs determine the right access.

PHP files do not normally need an executable bit. CGI or command-line executables may need different permissions. Sensitive configuration files may use 400 or 440 only when the required service user can still read them and the application does not need to write them. Windows hosting uses different permission controls.

Still have questions about this topic?