• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
NameHero® Blog

NameHero® Blog

Web Hosting Tips & Resources From NameHero

  • AI Agents
    • OpenClaw
    • Claude Code
    • n8n
    • Hermes Agent
    • Open WebUI
    • Docker
  • Hosting
    • Web Hosting
    • WordPress Hosting
    • WooCommerce Hosting
    • Enterprise Hosting
    • Email Hosting
    • HeroicGuard
    • GPU Hosting
    • Website Builder
  • VPS
    • Managed VPS
    • Unmanaged VPS
    • Flex VPS
  • Reseller
  • Gaming
  • Domains
  • Account
  • Blog Home
  • Categories
  • Authors

How To Change File Permissions In cPanel File Manager

Ryan Gray

Published on: June 16, 2020

Categories: Web Hosting 1

Understanding how to alter permissions to files on your server is imperative in creating a functional website. There are many scripts and applications that require certain permissions in order to function properly. Being able to alter the permissions to files is now easier than ever as it can be done directly in File Manager by using cPanel.

In this blog, I will walk you through step-by-step to show you how to alter file permissions in less than one minute. Before we get there, let’s review the core basics to file permissions.

Core Basics of File Permissions

Every folder and file on your server has three owners. These are as follows:

User: You are the user!
Group: Users from your website who are able to access the file.
World: End visitors who access your site through a web browser.

Each one of the owners has its own set of permissions. The permissions are Read, Write and Execute. Below is an overview of their function:

Read: The read permission grants the ability to read a file. This is what allows for applications to read files needed to function. An example of the read permission would be how it is used for a directory. When a directory is granted read access, the application can read the names of files within it but are unable to view specifics.

Write: The write permission grants the ability to modify a file. Modification to a file includes creating, deleting and renaming.

Execute: The execute file grants the ability to execute a file. Once this permission is granted, the operating system is able to run the file.

Now that you understand the basics of file permissions, let’s learn how to to alter them through a web browser.

How To Change File Permissions

The first step will be to login to the Client Area. Once logged in, Access cPanel. After you are in cPanel, access File Manager.

Once in File Manager, locate the file in which you are looking to alter the permissions. In this example, I have created the file “testfile.html” in my website’s root directly. Left click the file.

After you left click the file, it will highlight as shown above. Now, with the file selected, click Permissions in the upper right hand corner.

When you click Permissions, the file’s permissions will be displayed on your screen. By default, a file should always have 644 permissions and a folder should always have 755 permissions. However, certain scripts and applications require special permissions to function.

In this example, we are going to grant the “User” all permissions, which will allow access to read, write and execute the file. We will then grant “Group” and “World” mode with the permissions to read and execute. This is a common permission combination known by the binary code of 755. To accomplish this, tick the boxes desired.

The last step is to save your changes. To save, click on the Change Permissions button.

Ryan Gray

Ryan Gray is the founder and CEO of NameHero, one of the fastest growing independent web hosts in the United States. Ryan has been working online since 1998 and has over two-decades experience in Internet Entrepreneurship.

Reader Interactions

Comments

  1. Lami Godlove says

    October 4, 2024 at 7:58 pm

    Simple and straight forward. Thanks

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Follow & Subscribe

Exclusive promos, content and more!


Most Popular Posts

NameHero’s Recommended WordPress Plugin and Theme Setup

WordPress Hosting vs. Web Hosting – What’s The Difference?

How To Increase The InnoDB Buffer Pool Size

How To Fix A Stuck All-in-One WP Migration Import

How To Add A Subdomain In Cloudflare

Top Categories

  • WordPress
  • WordPress Tutorials
  • OpenClaw Hosting
  • Enterprise Hosting
  • WooCommerce
  • Web Hosting
  • Resellers
  • Website Security
  • Website Development
  • Website Performance
  • VPS Hosting
  • SEO Tips
  • Announcements
  • Domain Registration
NameHero

NameHero® proudly provides web hosting to over 40,000 customers with 99.9% uptime to over 750,000 websites.

  • Master Card
  • Visa
  • American Express
  • Discover
  • Paypal
Products
  • Web Hosting
  • Managed VPS Hosting
  • Unmanaged VPS Hosting
  • Flex VPS Hosting
  • WordPress Hosting
  • WooCommerce Hosting
  • Reseller Hosting
  • Enterprise Hosting
  • GPU Hosting
  • Email Hosting
  • HeroicGuard
  • Domains
  • Website Builder
  • AI Agent Hosting
Help & Support
  • NameHero Blog
  • NameHero Gaming Blog
  • Support
  • Help Center
  • Migrations
  • Affiliates
  • Gaming Affiliates
  • Call 1-855-984-6263
Company
  • About Us
  • Contact Sales
  • Reviews
  • Uptime
  • We're Hiring

Copyright © 2026 Name Hero, LLC. All rights reserved.
NameHero® is a registered trademark.

  • Privacy Policy
  • Terms of Use
  • Acceptable Use Policy
  • Payment Policy
  • DMCA