When agetty opens a tty, it changes it's owner and permissions. I don't know the reason of doing so but it's annoying (an user application can't open anymore the ttys). I suggest the following patch who removes two lines of code in agetty.c in util-linux package (version 2.12i): @@ -700,8 +712,8 @@ * Let us use 0600 for Linux for the period between getty and login */ - (void) chown(tty, 0, 0); /* root, sys */ - (void) chmod(tty, 0600); /* 0622: crw--w--w- */ +/* (void) chown(tty, 0, 0);*/ /* root, sys */ +/* (void) chmod(tty, 0600);*/ /* 0622: crw--w--w- */ errno = 0; /* ignore above errors */ }
Created attachment 48933 [details, diff] agetty.patch
Sorry, my fault :-(