From owner-freebsd-stable@FreeBSD.ORG Thu Feb 16 13:51: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 110E116A420 for ; Thu, 16 Feb 2006 13:51:50 +0000 (GMT) (envelope-from jwyatt@RWSystems.net) Received: from extra.rwsystems.net (52.6b.d1c4.cidr.airmail.net [209.196.107.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 510A143D48 for ; Thu, 16 Feb 2006 13:51:48 +0000 (GMT) (envelope-from jwyatt@RWSystems.net) Received: from extra.rwsystems.net (localhost.rwsystems.net [127.0.0.1]) by extra.rwsystems.net (8.13.4/8.13.4) with ESMTP id k1GDpFA5019067; Thu, 16 Feb 2006 07:51:15 -0600 (CST) (envelope-from jwyatt@RWSystems.net) Received: from localhost (jwyatt@localhost) by extra.rwsystems.net (8.13.4/8.13.4/Submit) with ESMTP id k1GDpEJm019063; Thu, 16 Feb 2006 07:51:15 -0600 (CST) (envelope-from jwyatt@RWSystems.net) X-Authentication-Warning: extra.rwsystems.net: jwyatt owned process doing -bs Date: Thu, 16 Feb 2006 07:51:14 -0600 (CST) From: James Wyatt To: Dmitry Morozovsky In-Reply-To: <20060216161726.M91053@woozle.rinet.ru> Message-ID: <20060216074912.K18952@extra.rwsystems.net> References: <20060216161726.M91053@woozle.rinet.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org 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: Thu, 16 Feb 2006 13:51:51 -0000 I've seen something very similar when the permissions of the mount point's underlieing subdirectory wasn't 777. Really strange to see, but it was a fallout from a company-wide change to make umask and directory permissions that wasn't quite implemented correctly. Hope this helps - Jy@ On Thu, 16 Feb 2006, Dmitry Morozovsky wrote: > Date: Thu, 16 Feb 2006 16:23:38 +0300 (MSK) > From: Dmitry Morozovsky > To: freebsd-stable@freebsd.org > Subject: RELENG_6 weird '..' permission troubles > > Dear colleagues, > > I have misterious permission troubles on rather fresh RELENG_6: > > from root everything's ok: > > root@hasmter:/usr# ls -la /usr/ > total 48 > drwxr-xr-x 13 root wheel 512 Feb 2 20:59 ./ > drwxr-xr-x 20 root wheel 512 Feb 16 14:37 ../ > drwxrwx--- 2 root operator 512 Feb 16 15:58 .snap/ > drwxr-xr-x 3 root wheel 512 Feb 2 16:08 X11R6/ > ... > > from myself too: > > marck@hasmter:~> ls -la /usr/ > total 48 > drwxr-xr-x 13 root wheel 512 Feb 2 20:59 ./ > drwxr-xr-x 20 root wheel 512 Feb 16 14:37 ../ > drwxrwx--- 2 root operator 512 Feb 16 15:58 .snap/ > drwxr-xr-x 3 root wheel 512 Feb 2 16:08 X11R6/ > ... > marck@hasmter:~> id > uid=268(marck) gid=268(marck) groups=268(marck), 0(wheel), 5(operator) > > but from really unprivileged user: > > %id > uid=1008(nata) gid=1008(nata) groups=1008(nata), 24(samba) > %ls -la /usr > ls: ..: Permission denied > total 46 > drwxr-xr-x 13 root wheel 512 Feb 2 20:59 . > drwxrwx--- 2 root operator 512 Feb 16 15:58 .snap > drwxr-xr-x 3 root wheel 512 Feb 2 16:08 X11R6 > ... > > The same on other mountpoints. fsck is ok. > > Any hints? > > > Sincerely, > D.Marck [DM5020, MCK-RIPE, DM3-RIPN] > ------------------------------------------------------------------------ > *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** > ------------------------------------------------------------------------ > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >