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 tutorials, 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.

This tutorial shows you how to configure file permission settings on your server.

Info

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

You can learn more about a great WordPress backup plugin that can fully automate your site 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 accessing and modifying 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 get error messages 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

***

"If you're new to WordPress, this can stand on its own as a training course and will stay with you as you progress from beginner to advanced and even guru status." - Bruce (Columbus, Ohio)

***

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

Sell Online With PayPalSell Online With PayPal

This video course shows you how to set up PayPal on your website to receive payments online, with additional tips on using PayPal payment tools.

More info: Sell Online With PayPal

Recommended Video Courses For WordPress Users

How To Set Up A Forum On WordPressHow To Set Up A Forum On WordPress

Learn how to set up a forum for your visitors, prospects, customers, members, or affiliates using WordPress.

More info: How To Set Up A Forum On WordPress

Recommended Video Courses For WordPress Users

How To Add A WordPress Site To FacebookHow To Add A WordPress Site To Facebook

Learn how to add your WordPress site to Facebook. Learn how to obtain and set up a free SSL (Secure Sockets Layer) certificate for your WordPress site, how to change your site protocol from "http" to "https" (secure site) and how to set up a Facebook app and import your entire WordPress site into Facebook.

More info: How To Add A WordPress Site To Facebook

Recommended Video Courses For WordPress Users

Using Password ManagersUsing Password Managers

Password Managers provide an easy and secure way to keep track of all your passwords. This video course shows you how to use two FREE powerful password management tools.

More info: Using Password Managers

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

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

Recommended Video Courses For WordPress Users

Using Layers WPUsing Layers WP

Learn how to use Layers WP, a powerful, flexible and user-friendly WordPress theme that lets you build professional and stunning websites easily using point-and-click.

More info: Using Layers WP

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

Author: Martin Aranovitch

Martin Aranovitch is the owner of WPCompendium.org and the author of The WordPress User Manual. 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.