[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nix-dev] [PATCH] Make sure /dev/pts/ptmx is world-writable
From: |
Lluís Batlle i Rossell |
Subject: |
Re: [Nix-dev] [PATCH] Make sure /dev/pts/ptmx is world-writable |
Date: |
Thu, 3 Apr 2014 12:38:07 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Apr 03, 2014 at 09:31:11AM +0200, Ludovic Courtès wrote:
> Lluís Batlle i Rossell <address@hidden> 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?
I think that ptmxmode is there since 2.6 kernels, at least. :)
There is a reason for having the devpts fs instead of static nodes, but I don't
remember it.