Quite old topic but for those looking for it, you need to change the owner of the the directory, and not the permissions:
$ chown -R postgres /root/pgdata
Go-to resource for frequently asked technical questions
47
Topics
76
Posts
@jossvall The UART TXD0 and TXD1 pins fall into the "must be floating or pulled down at boot time" category. That should be satisfied by most UART devices.
Excerpt from the Omega2S Datasheet: