WordPress is a complicated content management system. Even though you will not face any trouble with the system, sometimes you will have to fix things yourself to get the work done.
If you are unable to upload images or videos, you will have to resolve the file and folder permission error. If you are not fixing the error, you will not be able to upload while drafting the content. You will not be able to create folders on the server including the inability to install scripts. If you have given incorrect permissions, your site will be at a huge risk of being hacked. In this article, we will examine the steps required to resolve the file and folder related permissions.
If you would like to provide correct permissions to enable WordPress to create files and folders without any error, you need to set 755 for folders/sub-folders and 644 for all the remaining files.
To add or modify the permission settings, you need to login to the server using FTP, select all the folders located inside the root directory and select File Permissions. You need to right-click after selecting the folder(s). You need to provide 755 and click on ‘Recurse into subdirectories‘ checkbox and select ‘Apply to directories only‘ option.
After setting the above options, you need to click the OK button. You have to wait until the process of configuring the file/folders permissions are completed.
To configure file permissions for files, you need to provide 644 and set “Recurse into subdirectories” and “Apply to files only” options as discussed above. You have to set the permissions for all the files and click OK to continue. You have to wait until the FTP Client completes the configuration of permissions.
You will have to configure files and folders at the time of installation of scripts such as Joomla. The installer specifically prompts you to set all the permissions before proceeding with the installation process. It will display the relevant files and folders for which the permissions are required.