[RFC] fix devpts mount behavior

Serge E. Hallyn serge at hallyn.com
Tue Jan 24 23:29:54 UTC 2012


Quoting Sukadev Bhattiprolu (sukadev at linux.vnet.ibm.com):
> Serge Hallyn [serge.hallyn at canonical.com] wrote:
> | 
> | That has nothing to do with /dev/pts/ptmx, whose perms are set based on
> | the '-o ptmxmode=" argument, and default to 000 if not specified.  If
> | /dev/ptmx is going to be a symlink to /dev/pts/ptmx, then we have to set
> | the /dev/pts/ptmx perms to not be 000, or users won't be able to create
> | ptys.
> 
> If we are going to make 'newinstance' the default, maybe the default
> ptmx mode could be changed to 0666 in the kernel too ?
> 

Right that was what i meant :)

thanks,
-serge


More information about the Containers mailing list