Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jul 1998 19:21:25 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        Stefan Eggers <seggers@semyam.dinoco.de>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: permission confusion at mount points 
Message-ID:  <199807030021.TAA18905@nospam.hiwaay.net>
In-Reply-To: Message from Stefan Eggers <seggers@semyam.dinoco.de>  of "Thu, 02 Jul 1998 12:24:29 %2B0200." <199807021024.MAA11096@semyam.dinoco.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Eggers writes:
> Hi!
> 
> I had a directory "/usr2" with mode 0700 owned by root.wheel.  On that
> I mounted a filesystem with mode 0755 owned by root.wheel (data of its
> root node).  The OS is 2.2-stable CVSUped lately.
[...]
> Should the mount point really influence permissions this way w/o
> giving any indication of this?  Or is this behavior unintentional?
> Is it worth a PR?

Its that way in every Unix I've used. Can't think of one that it doesn't
act up, but somebody would point out the odd system if I was to claim
more than I know and say *all* unices.

For kicks, "cd /usr2; pwd". Bet it'll fail. Same for SGI's Irix 6.2.
Use 755 permissions on your underlying mount point and put the problem 
out of your misery.

--
David Kelly N4HHE, dkelly@nospam.hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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