|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
World write on Win2k server
I had a script written by a Unix man to take form mail results from and write them to a specific file on my Win2k server. The server is not allowing the script to write. I have the folder permissions set to everone write.
I thought it may be due to the site certificate but tested it on another site and it still won't write. What do we need to do here - I'm using IIS? |
|
#2
|
||||
|
||||
|
It depends on what is triggering the script, but it sounds like you need to let IUSR_YourMachineName (IIS's "user") have write access to the folder/file
|
|
#3
|
|||
|
|||
|
I just tried that - no luck. Any other possibilities?
|
|
#4
|
|||
|
|||
|
what about giving write properties to SYSTEM? would that reap havoc or be safe?
|
|
#5
|
||||
|
||||
|
surfergirl: do you have a profile setup for the script? (username/password that it uses to log in) if not, make one, and give it full permision to that directory only, and allow inheretable permissions on files within that directory. Are you using AD? and what webserver are you using to write the script? IIS or Apache? or?
![]() How are you trying to write the file? Is it writing to a directory on a local file share or are you trying to write it remotely via a web page/vpn/etc? |
|
#6
|
|||
|
|||
|
Justin - what is AD? We have IIS on Win2k. Its a perl script file in the web folder.
We got it working by writing a directory on the root that is temp but I would prefer it to write to a specific dir within the website folder. Does that cause any lightbulbs to go on for you? I'm sure its simple, I just don't know enough about IIS to figure it out. |
|
#7
|
||||
|
||||
|
AD is the type of domain that you're on, if you're not using that then I'm assuming that you're using the default domain structure.
Have you tried making a folder and setting the owner to the be equal to IIS? |
|
#8
|
|||
|
|||
|
I have the folder permissions set to IUSER_webserver can write. Webserver is the name of the machine.
|
|
#9
|
||||
|
||||
|
give webserver full permissions, not just write.. they need modify as well
|
|
#10
|
|||
|
|||
|
The permissions have been wide open on this particular folder but it doesn't seem to allow writing.
I hate say I dont know the password for IUSR_webserver ----so if I change it what other default settings on IIS will it mess up? |
|
#11
|
||||
|
||||
|
No idea about the settings if you change the password... is this on a local machine or is it remote?
|
|
#12
|
||||
|
||||
|
IUSR_webserver is a system account, and doesn't need changing.
When you set the folder permissions, did u select the box which set propegate down for files and subfolders? |
|
#13
|
|||
|
|||
|
I put the permission on the acutal folder which is a couple levels down from the root of the website.
|
|
#14
|
||||
|
||||
|
Have you thought about putting a folder within the root of the web server folder that is only accessable if you are authenticated? maybe if you put the folder within the root then it will be able to write... not sure about that though... Haven't worked with IIS much, more of an apache person here
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > World write on Win2k server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|