From owner-freebsd-stable@FreeBSD.ORG Mon Feb 20 19:18:41 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38B5116A42B for ; Mon, 20 Feb 2006 19:18:41 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id F084B43D45 for ; Mon, 20 Feb 2006 19:18:34 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.3/8.13.3) with ESMTP id k1KJIUKD058978; Mon, 20 Feb 2006 22:18:30 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.3/8.13.3/Submit) id k1KJITKn058976; Mon, 20 Feb 2006 22:18:29 +0300 (MSK) (envelope-from yar) Date: Mon, 20 Feb 2006 22:18:29 +0300 From: Yar Tikhiy To: freebsd-stable@freebsd.org Message-ID: <20060220191829.GE57043@comp.chem.msu.su> References: <20060216161726.M91053@woozle.rinet.ru> <20060216074912.K18952@extra.rwsystems.net> <20060216165612.M91053@woozle.rinet.ru> <20060219105852.GC20500@comp.chem.msu.su> <20060219122747.GA42983@mid.pc5.i.0x5.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060219122747.GA42983@mid.pc5.i.0x5.de> User-Agent: Mutt/1.5.9i Cc: Dmitry Morozovsky Subject: Re: RELENG_6 weird '..' permission troubles X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2006 19:18:41 -0000 On Sun, Feb 19, 2006 at 01:27:48PM +0100, Nicolas Rachinsky wrote: > * Yar Tikhiy [2006-02-19 13:58 +0300]: > > This looks like a file-a-PR case if you are sure you didn't overlook > > anything. To the best of my knowledge, the underlying mount point > > permissions should affect nothing since the FS was mounted. But > > you didn't show us output from "ls -la /" so please judge by yourself. > > This behaviour is known and documented. > > http://www.freebsd.org/cgi/man.cgi?query=mount&apropos=0&sektion=0&manpath=FreeBSD+6.0-RELEASE+and+Ports&format=html > > After a successful mount, the permissions on the original mount point > determine if .. is accessible from the mounted file system. The minimum > permissions for the mount point for traversal across the mount point in > both directions to be possible for all users is 0111 (execute for all). Thanks for pointing us out at this. To my shame, I read about the caveat some years ago, but then forgot about it completely because had never run into it in my practice. -- Yar