From owner-freebsd-hackers Thu Jul 2 07:22:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA00455 for freebsd-hackers-outgoing; Thu, 2 Jul 1998 07:22:53 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA00420 for ; Thu, 2 Jul 1998 07:22:41 -0700 (PDT) (envelope-from seggers@semyam.dinoco.de) Received: (from uucp@localhost) by tim.xenologics.com (8.8.5/8.8.8) with UUCP id QAA29025 for freebsd-hackers@FreeBSD.ORG; Thu, 2 Jul 1998 16:19:28 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by semyam.dinoco.de (8.8.8/8.8.8) with ESMTP id MAA11096; Thu, 2 Jul 1998 12:24:31 +0200 (CEST) (envelope-from seggers@semyam.dinoco.de) Message-Id: <199807021024.MAA11096@semyam.dinoco.de> To: freebsd-hackers@FreeBSD.ORG cc: seggers@semyam.dinoco.de Subject: permission confusion at mount points Date: Thu, 02 Jul 1998 12:24:29 +0200 From: Stefan Eggers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. By a command (actually CVS checking out the OS source) failing I had to look for a reason why "/usr2/.." from within a subdirectory of "/usr2" could not get accessed. It looked all fine to me. Read and execute permissions for everyone so no good reason to fail I thought except some bug or problem with the filesystem. A few minutes later I thought about it again and came to the conclusion that the underlaying mount point might be the problem and it really was. The more rigorous permissions on the mount point inhibited doing even a complete "ls -la" in "/usr2" - it failed to stat ".." while all other entries were accessible. 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? Stefan. -- Stefan Eggers Lu4 yao2 zhi1 ma3 li4, Max-Slevogt-Str. 1 ri4 jiu3 jian4 ren2 xin1. 51109 Koeln Federal Republic of Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message