What the installer script is looking at is the permissions of the directory and its contents. I recommend using an FTP client that allows setting permissions recursively. The setup process will make changes to the files in those folders, but only if the webserver has write permissions to the files. Setup will likely fail if it cannot write to the files.
The other option is to select and change the permissions of the files inside the folders as well, but there are lots of them.