How To Configure File Permission Settings On Your Server

How To Configure File Permission Settings On Your Server

How To Configure File Permission SettingsThe tutorial in this section shows you how to configure file permission settings on your server.

Different files and directories on your computer and web server require permissions to be set that specify who and what can read, write, modify and access these files and directories.

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

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 to a file or a file directory. It changes the file system modes of files and directories, including permissions and special modes.

Basically, changing file permissions grant or deny access to the files and folders.

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

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 …

Setting File Permissions

Most WordPress file and directory permissions are normally set to one of the following:

  • 777
  • 755
  • 644

Setting directory permissions to make your files writable depend on your web hosting environment. Normally, to make a file or directory writable, you would 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 you are performing some kind of function on your site (e.g. installing or making changes to plugins or themes), 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 hackers from being able to access your files.
  • Changing file permissions is not complicated. However, if you don’t know what you’re doing or are concerned that you might do something that could 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.
  • After making changes to files, refresh your blog’s page in your browser to make sure that everything is working correctly.
  • 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 webhosting provider for help.

Back To Tutorial Index

Tags: , , , ,

Leave A Reply (No comments so far)

You must be logged in to post a comment.

No comments yet

Powered by WishList Member - Membership Software