NTFS permission for IUSR
am 13.12.2006 21:22:31 von hugh welford
Hi,
I am recovering from hard disc failure and reinstalling everything.
I am using IIS installed locally on WIN XP PRO to test website offline
using asp to access data in an access.mdb
My installation of IIS seems OK and html pages load fine. However pages
requiring data access do no load, the error message stating that the object
is read only. I think that I have to grant NTFS permission to the database
file to IUSR_thiscomputername - on my previous disc before the crash, I was
able to set the pernission via the security tab in properties. The disc is
formatted as NTFS, but the security tab does not show in properties, so I am
unable to set the write permission. The documentation however says that NTFS
formatted drive should show the security tab.
Can anyone help?
Getting very frustrated and desperate - thanks in advance - Hugh
Re: NTFS permission for IUSR
am 13.12.2006 22:07:55 von Mike Brind
"Hugh Welford" wrote in message
news:eY8EsRvHHHA.960@TK2MSFTNGP04.phx.gbl...
> Hi,
>
> I am recovering from hard disc failure and reinstalling everything.
>
> I am using IIS installed locally on WIN XP PRO to test website offline
> using asp to access data in an access.mdb
>
> My installation of IIS seems OK and html pages load fine. However pages
> requiring data access do no load, the error message stating that the
> object is read only. I think that I have to grant NTFS permission to the
> database file to IUSR_thiscomputername - on my previous disc before the
> crash, I was able to set the pernission via the security tab in
> properties. The disc is formatted as NTFS, but the security tab does not
> show in properties, so I am unable to set the write permission. The
> documentation however says that NTFS formatted drive should show the
> security tab.
> Can anyone help?
>
> Getting very frustrated and desperate - thanks in advance - Hugh
http://www.google.co.uk/search?hl=en&safe=off&q=security+tab +missing+xp+pro&btnG=Search&meta=
Re: NTFS permission for IUSR
am 14.12.2006 11:04:42 von mmcginty
"Mike Brind" wrote in message
news:%23D8k$qvHHHA.4896@TK2MSFTNGP04.phx.gbl...
>
> "Hugh Welford" wrote in message
> news:eY8EsRvHHHA.960@TK2MSFTNGP04.phx.gbl...
>> Hi,
>>
>> I am recovering from hard disc failure and reinstalling everything.
>>
>> I am using IIS installed locally on WIN XP PRO to test website offline
>> using asp to access data in an access.mdb
>>
>> My installation of IIS seems OK and html pages load fine. However pages
>> requiring data access do no load, the error message stating that the
>> object is read only. I think that I have to grant NTFS permission to the
>> database file to IUSR_thiscomputername - on my previous disc before the
>> crash, I was able to set the pernission via the security tab in
>> properties. The disc is formatted as NTFS, but the security tab does not
>> show in properties, so I am unable to set the write permission. The
>> documentation however says that NTFS formatted drive should show the
>> security tab.
>> Can anyone help?
>>
>> Getting very frustrated and desperate - thanks in advance - Hugh
>
> http://www.google.co.uk/search?hl=en&safe=off&q=security+tab +missing+xp+pro&btnG=Search&meta=
Note that you don't actually *need* the GUI interface to change permissions,
the tool CACLS.EXE (and its more capable cousin XCACLS.EXE, that comes with
the O/S' resource kits, iirc) can be used to read or write permissions, on
everything built on the NT kerenel, including XP Home.
Of course, without a doubt, the Security tab is almost infinitely more
intuitive than the command line tools :-) but the UI comes with a lot of
overhead built into it, and there are some limits on its recursive operation
capabilities.
A client of mine once found themselves locked out of a deep directory tree
full of important files. I went to take ownership of them to restore
access, but found that only worked on the current level in the tree. As I
took ownership of each dir, I was able to see the next level underneath, but
that was it! There were hundreds of them, and many of the files were
encuimbered as well.
The security tab UI was taking a minute or more on each object, to do it's
voodoo... it was going to take days to fix them all! Worst of all,
sometimes it failed the first time, but worked the next! So I wrote a
little command line tool to recursively make Administrators the owner and
grant full perms to Everyone. It ran through the whole tree in about 10
minutes. Never bothered to calculate the performance factor, but I'm pretty
sure 100x is a conservative guess.
-Mark
Re: NTFS permission for IUSR
am 14.12.2006 11:32:13 von hugh welford
thanks guys
Hugh
"Hugh Welford" wrote in message
news:eY8EsRvHHHA.960@TK2MSFTNGP04.phx.gbl...
> Hi,
>
> I am recovering from hard disc failure and reinstalling everything.
>
> I am using IIS installed locally on WIN XP PRO to test website offline
> using asp to access data in an access.mdb
>
> My installation of IIS seems OK and html pages load fine. However pages
> requiring data access do no load, the error message stating that the
> object is read only. I think that I have to grant NTFS permission to the
> database file to IUSR_thiscomputername - on my previous disc before the
> crash, I was able to set the pernission via the security tab in
> properties. The disc is formatted as NTFS, but the security tab does not
> show in properties, so I am unable to set the write permission. The
> documentation however says that NTFS formatted drive should show the
> security tab.
> Can anyone help?
>
> Getting very frustrated and desperate - thanks in advance - Hugh
>