From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sukadev Bhattiprolu Subject: Re: [RFC] fix devpts mount behavior Date: Tue, 24 Jan 2012 15:25:02 -0800 Message-ID: <20120124232502.GA22218@us.ibm.com> References: <20120124000517.GA28878@sergelap> <20120124002555.GA29534@sergelap> <20120124010758.GJ23916@ZenIV.linux.org.uk> <20120124220247.GA26353@hallyn.com> <20120124231601.GA4470@sergelap> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20120124231601.GA4470@sergelap> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Serge Hallyn Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Kay Sievers , Dave Hansen , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Al Viro , "Eric W. Biederman" , Andy Whitcroft , Linus Torvalds List-Id: containers.vger.kernel.org Serge Hallyn [serge.hallyn-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org] 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 ?