Sometimes when developing websites I happen across a curious situation where upon uploading the finished site files to the live server they keep the permissions from the development server

This situation isn’t always desirable as you really want fie permissions to be as restrictive as possible. The problem you have when this happens is that there are around 4,000 files in a normal vanilla WordPress install, which would take ages to go through every directory to sort out the file permissions. If you are on a shared hosting platform then your options are usually restricted by the webhost – ideally you want SSH access to the command line.

Thankfully FileZilla, the best free cross-platform FTP program can help us. If you select a remote directory in FileZilla and right mouse button you get the permissions dialogue appear. At the bottom of this dialogue is the option to set your chosen permissions recursively and on all files and folders, or just files or folders.