Should the permissions in all the UBB folders be 777?

I ask, as the permissions in the main admin folder is 755 and the files inside are 644.