From owner-freebsd-stable@FreeBSD.ORG Sun Feb 19 12:27:51 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 8EAC616A420 for ; Sun, 19 Feb 2006 12:27:51 +0000 (GMT) (envelope-from nicolas@i.0x5.de) Received: from n.0x5.de (n.0x5.de [217.197.85.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id A542E43D46 for ; Sun, 19 Feb 2006 12:27:50 +0000 (GMT) (envelope-from nicolas@i.0x5.de) Received: by pc5.i.0x5.de (Postfix, from userid 1003) id 2B22F81C2B; Sun, 19 Feb 2006 13:27:48 +0100 (CET) Date: Sun, 19 Feb 2006 13:27:48 +0100 From: Nicolas Rachinsky To: freebsd-stable@freebsd.org Message-ID: <20060219122747.GA42983@mid.pc5.i.0x5.de> Mail-Followup-To: freebsd-stable@freebsd.org References: <20060216161726.M91053@woozle.rinet.ru> <20060216074912.K18952@extra.rwsystems.net> <20060216165612.M91053@woozle.rinet.ru> <20060219105852.GC20500@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060219105852.GC20500@comp.chem.msu.su> X-Powered-by: FreeBSD X-Homepage: http://www.rachinsky.de X-PGP-Keyid: 887BAE72 X-PGP-Fingerprint: 039E 9433 115F BC5F F88D 4524 5092 45C4 887B AE72 X-PGP-Keys: http://www.rachinsky.de/nicolas/gpg/nicolas_rachinsky.asc User-Agent: Mutt/1.5.11 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: Sun, 19 Feb 2006 12:27:51 -0000 * 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). Nicolas -- http://www.rachinsky.de/nicolas