GCharb
03-23-2005, 10:21 PM
Hello all!
I have created a small but fun online webpage creator, got a problem though!
For me to be able to write to a folder, like a sub-domain, I need to chmod it to 0777, which is a bit of a security gap.
I thought of chmod it to 0777 before writing to the file then chmod it back to lower values after the writting is done.
Anyone knows a way to write to a folder thar is chmod to 0755 or lower?
Thanks for your time
I have created a small but fun online webpage creator, got a problem though!
For me to be able to write to a folder, like a sub-domain, I need to chmod it to 0777, which is a bit of a security gap.
I thought of chmod it to 0777 before writing to the file then chmod it back to lower values after the writting is done.
Anyone knows a way to write to a folder thar is chmod to 0755 or lower?
Thanks for your time