I have xenforo/mediagallery/resources, what directories and files should be in the "data" and "internal_data directories" and what should the permissions be?
755 will suffice on a properly configured server. 777 is more of a hack, i believe in the event the web server process or php handler does not have ownership of the files.