When i make sites I work offline in a windows environment and when finished i relocate /wb/ by FTP and database by HTTP after i replaces the local URLs with server URLs by using a texteditor. Not rocketscience

.
Accountered a problem when moving from server A to server B, where the filepermissions where wrong and i couldnt browse the site. What rights are the right ones? I chmoded "pages" directory and files under it to 744 because 777 and 755 didnt work. As /admin/ actually did work, it didnt need any use of chmod.

What are the right procedures when restoring wb permissions?