From owner-freebsd-hackers Thu Jul 2 18:19:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA13339 for freebsd-hackers-outgoing; Thu, 2 Jul 1998 18:19:14 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from shell.futuresouth.com (fullermd@shell.futuresouth.com [198.78.58.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA13314 for ; Thu, 2 Jul 1998 18:19:01 -0700 (PDT) (envelope-from fullermd@shell.futuresouth.com) Received: (from fullermd@localhost) by shell.futuresouth.com (8.8.8/8.8.8) id UAA16589; Thu, 2 Jul 1998 20:18:54 -0500 (CDT) Message-ID: <19980702201854.17640@futuresouth.com> Date: Thu, 2 Jul 1998 20:18:54 -0500 From: "Matthew D. Fuller" To: David Kelly Cc: Stefan Eggers , freebsd-hackers@FreeBSD.ORG Subject: Re: permission confusion at mount points References: <199807030021.TAA18905@nospam.hiwaay.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199807030021.TAA18905@nospam.hiwaay.net>; from David Kelly on Thu, Jul 02, 1998 at 07:21:25PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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