Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2006 16:01:53 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Yar Tikhiy <yar@comp.chem.msu.su>
Cc:        freebsd-stable@freebsd.org, James Wyatt <jwyatt@RWSystems.net>
Subject:   Re: RELENG_6 weird '..' permission troubles
Message-ID:  <20060219154950.K69186@woozle.rinet.ru>
In-Reply-To: <20060219105852.GC20500@comp.chem.msu.su>
References:  <20060216161726.M91053@woozle.rinet.ru> <20060216074912.K18952@extra.rwsystems.net> <20060216165612.M91053@woozle.rinet.ru> <20060219105852.GC20500@comp.chem.msu.su>

next in thread | previous in thread | raw e-mail | index | archive | help
  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
NCswIHJlY29yZHMgaW4NCjQrMCByZWNvcmRzIG91dA0KNDE5NDMwNCBieXRl
cyB0cmFuc2ZlcnJlZCBpbiAwLjA1NzQ5MyBzZWNzICg3Mjk1MzMzNSBieXRl
cy9zZWMpDQpyb290QHdvb3psZTovdmFyL3RtcCMgbWRjb25maWcgLWEgLXQg
dm5vZGUgLWYgaW1hZ2UxLmltZw0KbWQxDQpyb290QHdvb3psZTovdmFyL3Rt
cCMgbmV3ZnMgL2Rldi9tZDENCi9kZXYvbWQxOiA0LjBNQiAoODE5MiBzZWN0
b3JzKSBibG9jayBzaXplIDE2Mzg0LCBmcmFnbWVudCBzaXplIDIwNDgNCgl1
c2luZyA0IGN5bGluZGVyIGdyb3VwcyBvZiAxLjAyTUIsIDY1IGJsa3MsIDE5
MiBpbm9kZXMuDQpzdXBlci1ibG9jayBiYWNrdXBzIChmb3IgZnNjayAtYiAj
KSBhdDoNCiAxNjAsIDIyNDAsIDQzMjAsIDY0MDANCnJvb3RAd29vemxlOi92
YXIvdG1wIyBta2RpciAtbSA3MDAgbW50DQpyb290QHdv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jYgSmFuIDMxIDE4OjUwIGpkay0xLjUuMHAyXzMudGJ6DQpk
cnd4ci14ci14ICAgMyByb290ICAgd2hlZWwgICAgICAgNTEyIEZlYiAxOSAx
NjowMCBtbnQNCmRyd3gtLS0tLS0gICAyIG1hcmNrICB3aGVlbCAgICAgICA1
MTIgRmViIDE0IDIyOjE3IG9yYml0LW1hcmNrDQpkcnd4cnd4cnd0ICAgNSBy
b290ICAgd2hlZWwgICAgICAgNTEyIEphbiAyNiAxNDoxNyB0ZXhmb250cw0K
ZHJ3eHJ3eHJ3dCAgIDIgcm9vdCAgIHdoZWVsICAgICAgIDUxMiBKYW4gMzEg
MTY6MTcgdmkucmVjb3Zlcg0Kcm9vdEB3b296bGU6L3Zhci90bXAjIGVjaG8g
Jy9iaW4vc2ggLWMgImxzIC1sYSAvdmFyL3RtcC9tbnQvIicgfCAgc3UgLW0g
bm9ib2R5DQpsczogLi46IFBlcm1pc3Npb24gZGVuaWVkDQp0b3RhbCA0DQpk
cnd4ci14ci14ICAzIHJvb3QgIHdoZWVsICAgICA1MTIgRmViIDE5IDE2OjAw
IC4NCmRyd3hyd3hyLXggIDIgcm9vdCAgb3BlcmF0b3IgIDUxMiBGZWIgMTkg
MTY6MDAgLnNuYXANCnJvb3RAd29vemxlOi92YXIvdG1wIyBleGl0DQpleGl0
DQoNClNjcmlwdCBkb25lIG9uIFN1biBGZWIgMTkgMTY6MDA6NDcgMjAwNg0K

--0-299598928-1140354113=:69186--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060219154950.K69186>