How To Configure Server File Permission Settings

Learn how to configure permission settings for files and directories on your server.

How To Configure File Permission Settings On Your ServerThis tutorial is part of our WordPress installation and WordPress management step-by-step training, where we show you how to install and manage your WordPress website or blog with no coding skills required.

***

Different files and directories on your web server require permissions to be set that specify who can read, write, modify, and/or access your information.

This is important because WordPress may need to access files in your wp-content directory in order to enable certain functions and if these files or directories are not enabled, errors can occur, or WordPress may simply not be able to save your website changes.

In this tutorial, you will learn how to configure permission settings for files and directories on your server.

Important

We recommend doing a backup of your WordPress site (files and data) before modifying any files. If you don’t want to do your own site backups, then get help from a WordPress professional, or use WordPress backup plugins.

You can read about a great WordPress backup plugin that we recommend using to completely automate your WordPress backups here:

How To Configure File Permission Settings On Your Server

The chmod (abbreviated from change mode) is a command that lets a user tell the system (or server) how much or how little access it should permit a file or a file directory to be given. It changes the file system modes of files and directories, including permissions and special modes.

Basically, file permissions specify what can and can’t be done to your server files and directories.

Server file permissions specify what can and can't be done to your files

(Server file permissions specify what can and can’t be done to your files)

Setting File Permission Settings Using ‘CHMOD’

You can view security permissions for files and folders by completing the following steps:

If you are using an FTP program, you can normally change file permission settings on your server simply by accessing your server, locating the directory or file whose permissions you want to change, and then right-clicking on the file and selecting ‘Properties’ …

How To Configure File Permission Settings - Properties

(File Properties)

The CHMOD options should display in the menu. If not, access the help section of your FTP client and search for chmod, permissions, or change mode. Most FTP programs have this feature readily available.

To change or set permissions for your files, simply check or uncheck the permission boxes (for Owner, Group, or Public), or add the desired permission setting number in the Manual display field, then click OK to save …

CHMOD File Permissions

(Setting CHMOD File Permissions)

Common WordPress file and directory permissions include the following settings:

  • 777
  • 755
  • 644

Setting directory permissions to make your files writable depend on your web hosting environment. For example, to make a file or directory writable, you would normally set (chmod) file permissions either to 777 or 755.

Notes:

  • Only change file permission settings if your WordPress installation or plugin requires it. Normally, this will either be specified in a user manual (e.g. a plugin user manual or installation guide), or if changing file permissions is required while performing some kind of function on your site (e.g. installing or making changes to plugins or themes).
  • If performing installations using wizards, a notification message will usually appear on your screen asking you to make a particular file or directory writable, or specifying which permission settings you need to change.
  • Unless the change required to the file permission settings is permanent, you would normally restore the file to its original settings after making and saving the change for security purposes (e.g. changing a file from 644 to 755, then back to 644 again). This prevents unauthorized users from being able to access and modify files on your server.
  • After making changes to files, refresh your site’s page in your browser to make sure that everything is working correctly.
  • Changing file permissions is not complicated. However, if you don’t know what you’re doing or if you are concerned that you might do something that can cause errors, don’t modify any files. Instead, ask your web hosting provider or someone with more knowledge or experience to do this for you.
  • If you experience errors after changing permission settings, change the permission settings back to what they were and see if the error messages disappear. If errors persist after restoring file permissions, contact your web hosting provider for help.

Congratulations! Now you know how to set permissions on server files.

How To Configure File Permission Settings On Your Server

***

"I have used the tutorials to teach all of my clients and it has probably never been so easy for everyone to learn WordPress ... Now I don't need to buy all these very expensive video courses that often don't deliver what they promise." - Stefan Wendt, Internet Marketing Success Group

***

Recommended Video Courses For WordPress Users

How To Use SoftaculousHow To Use Softaculous

Softaculous is a software program that automates the installation of commercial and open source web applications to websites on webhosting applications like cPanel. This video course shows you how to install WordPress on your website using Softaculous.

More info: How To Use Softaculous

Recommended Video Courses For WordPress Users

How To Use cPanelHow To Use cPanel

cPanel is a powerful and simple-to-use web hosting management software application that gives website owners the ability to quickly and easily manage their servers and websites using a simple and intuitive dashboard.

This video course will teach you how to use the main features of cPanel to manage your web hosting.

More info: How To Use cPanel

Recommended Video Courses For WordPress Users

How To Use FTPHow To Use FTP

This video course shows you how to use FTP (File Transfer Protocol) to transfer and upload files between your hard drive and your server using a free FTP program called Filezilla.

More info: How To Use FTP

Recommended Video Courses For WordPress Users

How To Use Amazon S3How To Use Amazon S3

Learn how to set up and use Amazon S3 to upload, store, manage, and protect your site’s images, large media files, downloadable files, stream videos and more.

More info: How To Use Amazon S3

Recommended Video Courses For WordPress Users

Why Your Business Needs WordPressWhy Your Business Needs WordPress

Learn about the unique features, benefits, and advantages of using WordPress to start or grow your business online.

More info: Why Your Business Needs WordPress

Recommended Video Courses For WordPress Users

Build An e-Commerce Store With WordPressBuild An e-Commerce Store With WordPress

Learn how to set up an e-commerce store on your WordPress site using e-commerce platforms like WooCommerce and Easy Digital Downloads.

More info: Build An e-Commerce Store With WordPress

Recommended Video Courses For WordPress Users

Build A WordPress Site ... Fast!Build A WordPress Site ... Fast!

Need a new website or blog in a hurry?

This video course shows you how to quickly install and configure a WordPress website or blog on your own domain name and be up and running in no time!

More info: Build A WordPress Site ... Fast!

Recommended Video Courses For WordPress Users

Keyword Research ToolsKeyword Research Tools

This video course shows you how to do keyword research using tools like the Google Keyword Planner.

More info: Keyword Research Tools

Recommended Video Courses For WordPress Users

How To Install, Set Up & Use WordPress MultisiteHow To Install, Set Up & Use WordPress Multisite

Learn how to quickly and securely set up an online community of websites or blogs using the powerful WordPress Multisite feature.

More info: WordPress Multisite

Recommended Video Courses For WordPress Users

How To Set Up WordPress On LocalhostHow To Set Up WordPress On Localhost

Learn how to install, set up, and locally host a fully functioning WordPress site on your computer.

More info: How To Set Up WordPress On Localhost

Author: Martin Aranovitch

Martin Aranovitch is the founder of WPCompendium.org and the author of The Small Business Digital Manager. WPCompendium.org provides hundreds of FREE tutorials that show you how to use WordPress to grow your business online with no coding skills required! Get our FREE "101+ WordPress Tips, Tricks & Hacks For Non-Techies" e-course with loads of useful WordPress tips!

Originally published as How To Configure Server File Permission Settings.