{"id":1453,"date":"2019-02-08T10:36:00","date_gmt":"2019-02-08T10:36:00","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1583479-how-to-fix-file-permissions-in-hostinger\/"},"modified":"2026-05-22T07:36:17","modified_gmt":"2026-05-22T07:36:17","slug":"1583479-how-to-fix-file-permissions-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1583479-how-to-fix-file-permissions-in-hostinger\/","title":{"rendered":"How to fix file permissions in Hostinger"},"content":{"rendered":"<p class=\"no-margin\">Every file and folder within your hosting plan has a set of permissions. If these permissions are misconfigured, your website might experience access issues or display errors. You can quickly reset these settings to their default values directly through hPanel.<\/p><h2 id=\"h-before-you-start\">Before you start<\/h2><ul>\n<li>This feature is not available for websites built using Hostinger Website Builder or Hostinger Horizons.<\/li>\n<li>The hPanel method is available only for custom PHP or HTML websites hosted on web and cloud hosting plans.<\/li>\n<li>If your website is hosted on an agency hosting plan, you can only edit file permissions using the File Manager. Permissions on certain files, such as WordPress system files are fixed and cannot be customized.<\/li>\n<\/ul><h2 id=\"h-resetting-file-permissions-via-hpanel\">Resetting file permissions via hPanel<\/h2><ol>\n<li>Go to hPanel <b>&rarr; <\/b><a class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" rel=\"noopener\">Websites<\/a>.<\/li>\n<li>Click <strong>Dashboard<\/strong> next to the website you want to manage.\n<ol>\n<li>On the left sidebar, select Advanced <b>&rarr;<\/b> <strong>Fix File Ownership<\/strong>.<br>\n<img decoding=\"async\" class=\"aligncenter size-full wp-image-10864\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-hpanel-fix-file-ownership.png\" alt=\"\" width=\"299\" height=\"322\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-hpanel-fix-file-ownership.png 299w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-hpanel-fix-file-ownership-279x300.png 279w\" sizes=\"(max-width: 299px) 100vw, 299px\" \/><\/li>\n<\/ol>\n<\/li>\n<li>Mark the checkbox to confirm that you want to set the files and folders to default permissions.<br>\n<img decoding=\"async\" class=\"aligncenter size-full wp-image-10865\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-fix-file-ownership-execute.png\" alt=\"\" width=\"602\" height=\"263\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-fix-file-ownership-execute.png 602w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-fix-file-ownership-execute-300x131.png 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/li>\n<li>Click <strong>Execute<\/strong>.<\/li>\n<\/ol><p>The process automatically applies the following standard values.<\/p><ul>\n<li>For files, the default setting is <code>644<\/code>.<\/li>\n<li>For folders, the default setting is <code>755<\/code>.<\/li>\n<\/ul><h2 id=\"h-changing-file-permissions-via-file-manager\">Changing file permissions via File Manager<\/h2><p>If you need to configure custom permission settings for specific individual files, or if you have a an agency hosting plan, use the Hostinger File manager.<\/p><ol>\n<li>Go to hPanel&nbsp;<b>&rarr; <\/b><a class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" rel=\"noopener\">Websites<\/a>.<\/li>\n<li>Click <strong>Dashboard<\/strong> next to the website you want to manage.<\/li>\n<li>On the left sidebar, go to Files <b>&rarr; <\/b><strong>File manager<\/strong>.<\/li>\n<li>To open the file manager.\n<ol>\n<li>On web and cloud hosting, click <strong>Access files<\/strong> <strong>of the website<\/strong>.<\/li>\n<li>On agency hosting, if you have a WordPress website and need to change permissions for the <code>wp-config.php<\/code> file, locate the Editing permission section and switch the toggle to unlock editing before opening the File manager.<br>\n<img decoding=\"async\" class=\"aligncenter wp-image-10866\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hsotinger-agency-editing-permissions-toggle.png\" alt=\"\" width=\"600\" height=\"319\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hsotinger-agency-editing-permissions-toggle.png 848w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hsotinger-agency-editing-permissions-toggle-300x160.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hsotinger-agency-editing-permissions-toggle-768x408.png 768w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/li>\n<\/ol>\n<\/li>\n<li>Inside the file manager, locate your desired file or folder, right-click it, and select <strong>Permissions<\/strong>.<br>\n<img decoding=\"async\" class=\"aligncenter wp-image-10867\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-file-manager-permissions.png\" alt=\"\" width=\"290\" height=\"323\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-file-manager-permissions.png 417w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/hostinger-file-manager-permissions-269x300.png 269w\" sizes=\"(max-width: 290px) 100vw, 290px\" \/><\/li>\n<li>Update the permission values according to your needs and save the changes.<\/li>\n<\/ol><p>&nbsp;<\/p><p>Your file permissions are now restored or customized to your preference, ensuring your website files remain secure and properly accessible.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Reset file and folder permissions to default values in hPanel to resolve website errors<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[192,238,263],"tags":[],"class_list":["post-1453","post","type-post","status-publish","format-standard","hentry","category-file-manager","category-files-and-folders-permissions","category-other"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583479-how-to-fix-file-permissions-in-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583479-como-corregir-los-permisos-de-archivos-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583479-comment-reparer-les-droits-des-fichiers-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583479-cara-memperbaiki-kepemilikan-file-di-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/1583479-como-corrigir-as-permissoes-de-arquivos-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583479--------hosti\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1453"}],"version-history":[{"count":4,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1453\/revisions"}],"predecessor-version":[{"id":10868,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1453\/revisions\/10868"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}