From owner-freebsd-hackers Thu Jul 2 17:21:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA04494 for freebsd-hackers-outgoing; Thu, 2 Jul 1998 17:21:29 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA04484 for ; Thu, 2 Jul 1998 17:21:27 -0700 (PDT) (envelope-from dkelly@n4hhe.ampr.org) Received: from nospam.hiwaay.net (tnt3-163.HiWAAY.net [208.147.146.163]) by mail.HiWAAY.net (8.9.0/8.9.0) with ESMTP id TAA00977; Thu, 2 Jul 1998 19:21:27 -0500 (CDT) Received: from n4hhe.ampr.org (localhost.ampr.org [127.0.0.1]) by nospam.hiwaay.net (8.8.8/8.8.8) with ESMTP id TAA18905; Thu, 2 Jul 1998 19:21:25 -0500 (CDT) (envelope-from dkelly@n4hhe.ampr.org) Message-Id: <199807030021.TAA18905@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: Stefan Eggers cc: freebsd-hackers@FreeBSD.ORG From: David Kelly Subject: Re: permission confusion at mount points In-reply-to: Message from Stefan Eggers of "Thu, 02 Jul 1998 12:24:29 +0200." <199807021024.MAA11096@semyam.dinoco.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 02 Jul 1998 19:21:25 -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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