Greetings. I'm having a problem with the file permissions for the online editor. I'm using Windows 2000 and am wondering how to set the appropriate files to be writable by the webserver?
I believe you should be able to right click on the individual files/folders and choose the properties -> security tab. In here you should be able to add the user that the webserver runs as to have write permissions. I could be wrong on this as I'm going off my memory from NT.
------------------- Rick Baker UBBThreads developer
</font><blockquote><font size="1" face="">quote:</font><hr /><font size="" face="">Originally posted by Rick Baker: I believe you should be able to right click on the individual files/folders and choose the properties -> security tab. In here you should be able to add the user that the webserver runs as to have write permissions. I could be wrong on this as I'm going off my memory from NT.
------------------- Rick Baker UBBThreads developer</font><hr /></blockquote><font size="" face="">I tried changing the permissions in that manner (which I'm sure is the right place to do it). When I edited it using the online editor, it actually deleted the config file! .
That sounds like you have the permissions half right. There are 2 individual permissions that need to be set. One, is the webserver needs permission to edit and delete an existing file. The other is that it needs to be able to create the new one. It sounds like you have the first one done properly, because it can delete it <img border="0" title="" alt="[Wink]" src="images/icons/wink.gif" /> But it looks like it doesn't have permission to create new files. This could be a setting on the directory, or possible directories.
------------------- Rick Baker UBBThreads developer
On the specific files, I gave full access to the iusr account (which I'm fairly certain may be the wrong user, since that's "internet guest"). Any idea what user the "web server" might be? System is on the list, but it has full access. Thanks for the advice, I'll do some more experimenting.
I did a quick search on deja, and on NT it's normally IUSR_machinename. Because the webserver normally runs as anonymous, which might just be the guest user. So, if you apply those permissions to the directory, or directories if necessary, then you might be heading in the right direction.
------------------- Rick Baker UBBThreads developer
I've got it working, but it concerns me how I had to do it.
I had to allow IUSR write access on the entire UBBThreads directory! I tried to add the access to the individual files, but it would delete the file, then not have dir. permissions to recreate the file.
In the perl version, these config files were in the 'modules' directory. Can that be done with the php version, or is there another way to configure this? Thanks
Didn't know if this feel through the cracks or not, but this is a major concern for me <img border="0" title="" alt="[Roll Eyes]" src="images/icons/rolleyes.gif" /> :
------------ I've got it working, but it concerns me how I had to do it. I had to allow IUSR write access on the entire UBBThreads directory! I tried to add the access to the individual files, but it would delete the file, then not have dir. permissions to recreate the file.
In the perl version, these config files were in the 'modules' directory. Can that be done with the php version, or is there another way to configure this? Thanks ---------------
</font><blockquote><font size="1" face="">quote:</font><hr /><font size="" face="">Originally posted by Mad Hatter: In the perl version, these config files were in the 'modules' directory. Can that be done with the php version, or is there another way to configure this? Thanks </font><hr /></blockquote><font size="" face="">I believe that Rick is looking into modularizing the PHP version... don't know exactly when this will occur, but I'm hoping it will be pretty quick...
Question: I've visted this thread 5 times since I first saw that it had "new" posts in it, yet it never has new posts in it?!? And, I regularly visit this site on three different computers. What's up with that? <G>