Date: Thu, 16 Feb 2006 07:51:14 -0600 (CST) From: James Wyatt <jwyatt@RWSystems.net> To: Dmitry Morozovsky <marck@rinet.ru> Cc: freebsd-stable@freebsd.org Subject: Re: RELENG_6 weird '..' permission troubles Message-ID: <20060216074912.K18952@extra.rwsystems.net> In-Reply-To: <20060216161726.M91053@woozle.rinet.ru> References: <20060216161726.M91053@woozle.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <marck@rinet.ru> > 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060216074912.K18952>