They should be set that they are all consistent with the docs.
Bear in mind the note in the docs:
Note: Some servers will not allow scripts to be executed out of a directory that is has 777 permissions, such as the dashboard.php file in the admin directory. If this is true on your server, your UBB.threads forum directory and the admin/ directory should be chmodded 775 or 755 with the files in the /admin directory chmodded 644.
best thing to do is go back to the ubb control panel to Permission Checks and see if all is green or okay.