From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753061Ab2AXXZf (ORCPT ); Tue, 24 Jan 2012 18:25:35 -0500 Received: from e35.co.us.ibm.com ([32.97.110.153]:44120 "EHLO e35.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750789Ab2AXXZd (ORCPT ); Tue, 24 Jan 2012 18:25:33 -0500 Date: Tue, 24 Jan 2012 15:25:02 -0800 From: Sukadev Bhattiprolu To: Serge Hallyn Cc: Kay Sievers , "Serge E. Hallyn" , containers@lists.linux-foundation.org, Dave Hansen , linux-kernel@vger.kernel.org, "Eric W. Biederman" , Andy Whitcroft , Linus Torvalds , Al Viro Subject: Re: [RFC] fix devpts mount behavior 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-Disposition: inline In-Reply-To: <20120124231601.GA4470@sergelap> X-Operating-System: Linux 2.0.32 on an i486 User-Agent: Mutt/1.5.20 (2009-06-14) X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12012423-6148-0000-0000-000002E27302 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Serge Hallyn [serge.hallyn@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 ?