Board and template directories.

Permission and sanity check part 2.