From owner-freebsd-stable@FreeBSD.ORG Sun Feb 19 13:02:09 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 C324116A420 for ; Sun, 19 Feb 2006 13:02:09 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 405A843D46 for ; Sun, 19 Feb 2006 13:02:09 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.4/8.13.4) with ESMTP id k1JD1rGk011657; Sun, 19 Feb 2006 16:01:53 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Sun, 19 Feb 2006 16:01:53 +0300 (MSK) From: Dmitry Morozovsky To: Yar Tikhiy In-Reply-To: <20060219105852.GC20500@comp.chem.msu.su> Message-ID: <20060219154950.K69186@woozle.rinet.ru> References: <20060216161726.M91053@woozle.rinet.ru> <20060216074912.K18952@extra.rwsystems.net> <20060216165612.M91053@woozle.rinet.ru> <20060219105852.GC20500@comp.chem.msu.su> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-299598928-1140354113=:69186" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Sun, 19 Feb 2006 16:01:56 +0300 (MSK) Cc: freebsd-stable@freebsd.org, James Wyatt 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 13:02:09 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-299598928-1140354113=:69186 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 19 Feb 2006, Yar Tikhiy wrote: YT> On Thu, Feb 16, 2006 at 04:57:57PM +0300, Dmitry Morozovsky wrote: YT> > On Thu, 16 Feb 2006, James Wyatt wrote: YT> > YT> > JW> I've seen something very similar when the permissions of the mount point's YT> > JW> underlieing subdirectory wasn't 777. Really strange to see, but it was a YT> > JW> fallout from a company-wide change to make umask and directory permissions YT> > JW> that wasn't quite implemented correctly. Hope this helps - Jy@ YT> > YT> > Exactly, see my other followup. YT> > YT> > I suppose 0777 is bad choice because if for some reason file system would not YT> > mount, anyone can fill up this directory. 0111 or 0555 or standard 0755 would YT> > be safe though. YT> YT> This looks like a file-a-PR case if you are sure you didn't overlook YT> anything. To the best of my knowledge, the underlying mount point YT> permissions should affect nothing since the FS was mounted. But YT> you didn't show us output from "ls -la /" so please judge by yourself. I can't show you exact output of ls -la / before other FS mount because of headlessness (nor serial console) of machine in question. However, there was one file system which I could unmount without dropping to single user, and I *did* see underlying directory mode of 0750. What should I file? Test case? It's rather simple (attached). Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ --0-299598928-1140354113=:69186 Content-Type: TEXT/plain; charset=US-ASCII; name=fs-underlying-mode-trouble.txt Content-Transfer-Encoding: BASE64 Content-ID: <20060219160153.I69186@woozle.rinet.ru> Content-Description: Content-Disposition: attachment; filename=fs-underlying-mode-trouble.txt U2NyaXB0IHN0YXJ0ZWQgb24gU3VuIEZlYiAxOSAxNTo1OToxMiAyMDA2DQpy b290QHdvb3psZTovdmFyL3RtcCMgdW5hbGlhcyBscw0Kcm9vdEB3b296bGU6 L3Zhci90bXAjIGNkIC92YXIvdG1wDQpyb290QHdvb3psZTovdmFyL3RtcCMg ZGQgaWY9L2Rldi96ZXJvIG9mPWltYWdlMS5pbWcgYnM9MW0gY291bnQ9NA0K N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