Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 1998 20:18:54 -0500
From:      "Matthew D. Fuller" <fullermd@futuresouth.com>
To:        David Kelly <dkelly@hiwaay.net>
Cc:        Stefan Eggers <seggers@semyam.dinoco.de>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: permission confusion at mount points
Message-ID:  <19980702201854.17640@futuresouth.com>
In-Reply-To: <199807030021.TAA18905@nospam.hiwaay.net>; from David Kelly on Thu, Jul 02, 1998 at 07:21:25PM -0500
References:  <seggers@semyam.dinoco.de> <199807030021.TAA18905@nospam.hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 02, 1998 at 07:21:25PM -0500, David Kelly woke me up to tell me:
> 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.

On a side note, wouldn't it be nice to be able to chmod the mount point
of a read-only filesystem while it's mounted?

*duck*


*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|       FreeBSD; the way computers were meant to be       |
* "The only reason I'm burning my candle at both ends, is *
| that I haven't figured out how to light the middle yet."|
*    fullermd@futuresouth.com      :-}  MAtthew Fuller    *
|      http://keystone.westminster.edu/~fullermd          |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


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?19980702201854.17640>