Enquiring
Sat Feb 24 05:26:27 CST 2007
Hi,
Many thanks for the pointer! I will download the tool if all else fails.
However rather than use a piece of software to diagnose the problem, I would
prefer to understand the problem and then solve it myself.
I reckon the problem must have something to do with the way permissions work
in the NTFS. To investigate the problem I moved the directory that I wish to
make a virtual web root directory from my personal "My Documents" directory
to the "Shared Documents" directory, and reset the virtual directory path
accordingly. I made no changes to the permissions set up for the directory
by the Virtual Directory wizard that I launched from the IIS management
console. Having done this, the pages in the virtual web root directory can
be visited without problem from Internet Explorer.
Therefore the problem seems to be connected to how the permissions set up
specifically for a sub-directory of "My Documents" directory interact with
those assigned by the system to the "My Documents" directory. I was vaguely
aware that the default permissions on the subdirectory are the same as those
of the parent directory, assuming that that's what "permissions inheritance"
means. However I also naively thought that if the permissions are reset for
a directory, they override any permissions of its parent directories.
However the behaviour of the sub directory that I tried to set up a virtual
web root directory seems to suggest that inspite of the directory having the
right permissions for web sharing, the permissions of the parent directory,
i.e. the "My Documents" directory, is getting in the way.
My questions therefore are:
If I have a directory C:\Dir1\Dir2\Dir3, and each directory in the chain has
possibly different permissions set, how are the permissions applied? Do the
permissions set for directory Dir3 apply to Dir3 irrespective of the
permissions set for Dir1 and Dir2? Or when an attempt is made to access
C:\Dir1\Dir2\Dir3\SomeFile.html, are the permissions checked sequentially
first on Dir1, then if successful on Dir2, and again if successful on Dir3,
meaning that the permissions of Dir1 must be satisfied globally by any
directory or file within it, irrespective of any local file or directory
settings?
If the latter is the case, any permissions applied to Dir3 will only govern
if they are more restrictive than the permissions of any parent directory.
Therefore, if I want to make Dir3 a virtual web root directory, I would have
to apply the web sharing permissions to Dir1 and Dir2 as well. Is that
correct?
Any guidance would be much appreciated.
Enquiring Mind
"Consultant" <consultant_mcngp@yahoo.com> wrote in message
news:esX4cx1VHHA.1360@TK2MSFTNGP02.phx.gbl...
> try this
>
http://www.microsoft.com/downloads/details.aspx?FamilyID=e90fe777-4a21-4066-bd22-b931f7572e9a&DisplayLang=en
>