{"id":57565,"date":"2020-09-29T10:43:41","date_gmt":"2020-09-29T15:43:41","guid":{"rendered":"https:\/\/blog.cpanel.com\/?p=57565"},"modified":"2020-09-29T10:43:41","modified_gmt":"2020-09-29T15:43:41","slug":"how-to-assign-permissions-to-files-and-folders-in-cpanel","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/tips-and-tricks\/how-to-assign-permissions-to-files-and-folders-in-cpanel\/","title":{"rendered":"How to Assign Permissions to Files and Folders in cPanel"},"content":{"rendered":"\n
File permissions are one of your server\u2019s most important security features. They give you fine-grained control over who can read, write, and execute files. Without them, it would be impossible to safely host multiple users\u2019 websites and data.<\/p>\n\n\n\n
However, incorrect permissions often cause hard-to-diagnose issues. If a website doesn\u2019t load properly or software crashes, there\u2019s a good chance misconfigured permissions are the culprit. They can also be challenging to manage with chmod<\/em>, the standard Linux permission management tool.<\/p>\n\n\n\n In this article, we explain what permissions are and how they work, before showing you how simple it is to assign them in cPanel. <\/p>\n\n\n\n Every file and folder on your server has a set of permissions. One way to see them is on the command line with the ls<\/em> command. <\/p>\n\n\n\n The -l <\/em>option tells ls <\/em>to display a detailed listing with extra information.<\/p>\n\n\n\nFile Permission Settings<\/strong><\/h2>\n\n\n\n
ls -l<\/code><\/pre>\n\n\n\n