{"id":1829,"date":"2021-09-13T07:21:47","date_gmt":"2021-09-13T07:21:47","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=1829"},"modified":"2021-09-13T07:21:47","modified_gmt":"2021-09-13T07:21:47","slug":"how-to-change-file-permissions-in-cpanel","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/how-to-change-file-permissions-in-cpanel\/","title":{"rendered":"How to Change File Permissions in cPanel"},"content":{"rendered":"<p>In this article, we\u2019ll justify the way to change file permissions in cPanel. File permissions enable operation systems to understand how requests to access files that have to be handled.<\/p>\n<h2>An overview of file permissions<\/h2>\n<p>There ar 3 levels of file permission, these ar read, write and execute. The <strong>Read<\/strong> permission permits a file to be read, the <strong>Write<\/strong> permission allows a file to be changed and therefore the <strong>Execute<\/strong> permission permits a file to be executed.<\/p>\n<p>Requests to read, write or execute will come from the user likewise as alternative programs and files which require to access the file. This latter cluster includes requests sent over the internet that enable users to access an web site.<\/p>\n<p>To provide larger management, those requesting access are divided into 3 separate classes, permitting you to grant read, write and execute permissions one by one for each. These classes are user, group and world. <strong>User permissions<\/strong> control what the file\u2019s owner will do, <strong>Group permissions<\/strong> control what alternative files and programs within the folder will do and <strong>World permissions<\/strong> control the access of everyone else.<\/p>\n<h3>An example of file permission usage<\/h3>\n<p>A web server, as an example, must read a website\u2019s pages in order that it will show them in a user\u2019s browser. For your web site to work properly, therefore, the subsequent permissions will required to be set.<\/p>\n<ul>\n<li>Your website\u2019s HTML files and pictures need to be writeable by the user and readable by others. These permissions ar set automatically once the file is uploaded or installed.<\/li>\n<li>Your folders required to be executable by others. The default permissions which permit this also are automatically set. These use the value 755 which suggests the files arr readable and executable by User, Group and World, however only writable by the User (owner).<\/li>\n<li>One set of files that permissions aren&#8217;t set automatically is that the CGI files (i.e. those files within the cgi-bin folder). These files also required to be executable by others and need a similar value 755 settings as explain in the bullet point above. However, as permissions aren&#8217;t set automatically, you will required to modify manually once the files are uploaded.<\/li>\n<\/ul>\n<p>Changing file permissions in cPanel<\/p>\n<p>Following are the steps that show how to change file permissions in cPanel<\/p>\n<p>1. Log in to <strong>cPanel<\/strong> using username and password.<\/p>\n<p>2. Go to the <strong>Files<\/strong> section and then click on the <strong>File Manager<\/strong> icon.<\/p>\n<p>3. In File Manager, find the folder or file whose <strong>permission<\/strong> you want to change.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1830\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/permission-1-300x166.png\" alt=\"permission-1\" width=\"384\" height=\"213\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/permission-1-300x166.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/permission-1.png 384w\" sizes=\"auto, (max-width: 384px) 100vw, 384px\" \/><\/p>\n<p>4. Next, choose the <strong>file or folder<\/strong> you wish to change by clicking its name. Once it&#8217;s highlighted in blue, click the <strong>Permissions<\/strong> button (with the key icon) in File Manager\u2019s from the top menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1831\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/permission-2-300x79.png\" alt=\"permission-2\" width=\"620\" height=\"164\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/permission-2-300x79.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/permission-2.png 620w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/p>\n<p>5. A dialog box get&#8217;s open where you&#8217;ll see the existing permissions for that file or folder.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1832\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/permission-3-300x190.png\" alt=\"permission-3\" width=\"404\" height=\"256\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/permission-3-300x190.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/permission-3.png 404w\" sizes=\"auto, (max-width: 404px) 100vw, 404px\" \/><\/p>\n<p>6. The 3 classes, User, Group and World, ar displayed across the top and their <strong>Read, Write and Execute<\/strong> permissions are within the columns underneath. If the checkbox get&#8217;s highlighted that will show that permission has been granted.<\/p>\n<p>7. <strong>Check or uncheck<\/strong> the required boxes, to change permissions. After you do that, the permission value numbers at the bottom get&#8217; s automatically update.<\/p>\n<p>8. Once you have done with your changes, click on the <strong>Change Permissions<\/strong> button to save the new permission settings.<\/p>\n<p>9. Do keep in mind that if <strong>permissions<\/strong> are changed incorrectly, it might have an effect on the functionality of your web site.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we\u2019ll justify the way to change file permissions in cPanel. File permissions enable operation systems to understand how requests to access files that have to be handled. An overview of file permissions There ar 3 levels of file permission, these ar read, write and execute. The Read permission permits a file to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-1829","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Change File Permissions in cPanel - OWS KB<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ownwebservers.com\/kb\/how-to-change-file-permissions-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change File Permissions in cPanel - OWS KB\" \/>\n<meta property=\"og:description\" content=\"In this article, we\u2019ll justify the way to change file permissions in cPanel. File permissions enable operation systems to understand how requests to access files that have to be handled. An overview of file permissions There ar 3 levels of file permission, these ar read, write and execute. The Read permission permits a file to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/how-to-change-file-permissions-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-13T07:21:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/permission-1-300x166.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-file-permissions-in-cpanel\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/09\/permission-1.png\",\"width\":384,\"height\":213,\"caption\":\"permission-1\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-file-permissions-in-cpanel\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-file-permissions-in-cpanel\/\",\"name\":\"How to Change File Permissions in cPanel - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-file-permissions-in-cpanel\/#primaryimage\"},\"datePublished\":\"2021-09-13T07:21:47+00:00\",\"dateModified\":\"2021-09-13T07:21:47+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-file-permissions-in-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/how-to-change-file-permissions-in-cpanel\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-file-permissions-in-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-file-permissions-in-cpanel\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-change-file-permissions-in-cpanel\/\",\"name\":\"How to Change File Permissions in cPanel\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=1829"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1829\/revisions"}],"predecessor-version":[{"id":1833,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/1829\/revisions\/1833"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=1829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=1829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=1829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}