Previous Thread
Next Thread
Print Thread
Hop To
#29151 10/20/2001 3:25 AM
Anonymous
Unregistered
Anonymous
Unregistered
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?

Thanks

Hatter
www.carfaxabbey.net

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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

Anonymous
Unregistered
Anonymous
Unregistered
</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! crazy.

Thanks

Hatter
www.carfaxabbey.net

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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

Anonymous
Unregistered
Anonymous
Unregistered
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.

Hatter
www.carfaxabbey.net

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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

Anonymous
Unregistered
Anonymous
Unregistered
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

Hatter
www.carfaxabbey.net

#29158 10/22/2001 10:21 AM
Anonymous
Unregistered
Anonymous
Unregistered
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
---------------

Thanks

Hatter
www.carfaxabbey.net

#29159 10/22/2001 11:01 AM
Anonymous
Unregistered
Anonymous
Unregistered
</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...

Matt

Anonymous
Unregistered
Anonymous
Unregistered
That's cool..

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>

Hatter
www.carfaxabbey.net


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (1 invisible), 471 guests, and 191 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)