[Nix-dev] grantpt(), new file with setuid bit set, annoying consequences

Lluís Batlle viriketo at gmail.com
Sat Jan 9 16:31:43 CET 2010


Ciao,

2010/1/9 Lluís Batlle <viriketo at gmail.com>:
> 2010/1/9 Eelco Dolstra <e.dolstra at tudelft.nl>:
>> Lluís Batlle wrote:
>>
>>> So, what do you propose?
>>> 1. In nixos, set pt_chown to the 'setuid' magic. This will make
>>> nix-installed gnu screen or x terminals fail in non-nixos.
>>> 2. Remind the users that they should belong to the tty group to use
>>> screen or x terminals
>>> 3. Something you think better and I have not written here.
>>
>> 4. Put back the DEVPTS_SUPER_MAGIC check that was removed?
5. We have that solved. We had only to make our 'devpts' put the 'tty'
gid to any pts file there created. I commited that simple fix into
nixos, and now we have 'mesg y' working, and also the new glibc
grantpt call working. Ura!



More information about the nix-dev mailing list