I'm having a hard time figuring this out so we'll see who can help me here...
I have written a script that involves copying files and im using mkdir and fopen to do this... The problem that I'm having is that the permissions on the linux system are saving the owner as apache... Because of this, I am having problems copying all the directory and I can't delete anything, or anything else with the files for that matter...
I tried the php command chown() and chmod() but nothing is working!
The folder that the folders I am copying to are in the proper owner and chmodded to 777...
Does anybody know what I can do to fix this problem?
I have written a script that involves copying files and im using mkdir and fopen to do this... The problem that I'm having is that the permissions on the linux system are saving the owner as apache... Because of this, I am having problems copying all the directory and I can't delete anything, or anything else with the files for that matter...
I tried the php command chown() and chmod() but nothing is working!
The folder that the folders I am copying to are in the proper owner and chmodded to 777...
Does anybody know what I can do to fix this problem?