Subject: stat on mounted dirs
To: None <apana-lists-os-netbsd-general@apana.org.au>
From: G C Wing <mason@werple.apana.org.au>
List: current-users
Date: 10/11/1994 00:38:03
What's the deal here? Say I have a base dir
d--------- 2 root wheel 512 Sep 2 12:21 /home
then mount /home on top, with the mounted /home say
drwxr-xr-x 20 mason user 512 Oct 9 16:26 /home
It'll use the permission of the mounted dir for accessing all of the dir
entries except ``..'' where it uses the permission of the underlying dir.
So why does stat ``/home/..'' use the permissions of the underlying
``/home'' entry and need it to be accessible for a successful stat?
--
Mason [G.C.W] mason@werple.apana.org.au Hurt...Agony...Pain...LOVE-IT