[Nix-dev] [PATCH] Make sure /dev/pts/ptmx is world-writable

Ludovic Courtès ludo at gnu.org
Thu Apr 3 09:31:11 CEST 2014


Lluís Batlle i Rossell <viric at viric.name> skribis:

> Usually it's handled with the devpts special mountable device. The
> "ptmxmode" variable handles that. Don't you want to mount that in the
> chroot?

Ah sorry, I see the ptmxmode mount option:

  https://www.kernel.org/doc/Documentation/filesystems/devpts.txt

Well it seems both chmod and that mount option would work, but the
ptmxmode option is marked as “new” in the doc above, so maybe it’s safer
to use chmod?

Ludo’.


More information about the nix-dev mailing list