Fix setting tty owner|rights
Daemonize if create pseudo_tty