From owner-freebsd-current@FreeBSD.ORG Fri Sep 22 12:43:24 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0407816A415; Fri, 22 Sep 2006 12:43:24 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mx1.stack.nl (meestal.stack.nl [131.155.140.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9099143D55; Fri, 22 Sep 2006 12:43:23 +0000 (GMT) (envelope-from jilles@stack.nl) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mx1.stack.nl (Postfix) with ESMTP id F3E104B320; Fri, 22 Sep 2006 14:43:22 +0200 (CEST) Received: by snail.stack.nl (Postfix, from userid 1677) id DB07A2288E; Fri, 22 Sep 2006 14:43:22 +0200 (CEST) Date: Fri, 22 Sep 2006 14:43:22 +0200 From: Jilles Tjoelker To: Gleb Smirnoff Message-ID: <20060922124322.GB2871@stack.nl> References: <20060919142739.GM27667@cell.sick.ru> <200609191539.aa46619@walton.maths.tcd.ie> <20060920095012.GS27667@cell.sick.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060920095012.GS27667@cell.sick.ru> X-Operating-System: FreeBSD 5.5-RELEASE-p1 i386 User-Agent: Mutt/1.5.13 (2006-08-11) Cc: David Malone , current@FreeBSD.org Subject: Re: VFS(?) weirdness X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 12:43:24 -0000 On Wed, Sep 20, 2006 at 01:50:12PM +0400, Gleb Smirnoff wrote: > Oops. Well, going up the directory tree, I've found that the '..' > entry is unaccessible in the /usr and /var directories: > glebius@jujik:/var:|>ls -la > ls: ..: Permission denied > total 1120 > drwxr-xr-x 25 root wheel 512 20 ??? 17:39 . > drwxrwxr-x 2 root operator 512 19 ??? 12:14 .snap > drwxr-xr-x 2 root wheel 512 21 ??? 2004 account > drwxr-xr-x 4 root wheel 512 28 ??? 2004 at > drwxr-x--- 2 root audit 512 21 ??? 2006 audit > Check the permissions of the original mount point (you need to umount /usr and /var to do so). From mount(1): ] CAVEATS ] 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). -- Jilles Tjoelker