I was screwing around in psql and renamed the template0 and template1 before realizing their usage. Now, I am getting a "permission denied to copy database 'template1'" from inside psql and form command-line when I try to recreate template1.
To save time, is there anything else I need to know about template1 vis a vis OS read/write permissions in /data/base or granting on template1 etc.
TIA