• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Cant Use CHMOD or copy() on site

M

mrtwsm

Guest
Hi,

Im totally stuck. I have a website up that uses the php command copy() but it doesnt work. The CHMOD settings are 755. If I set them to 777 it works.

Im guessing it might be something to do with user:group settings, but i just cant figure it out.

I have tried using

chmod("folder/folder", 0777);

But it has no effect.

Any ideas? Essentially its acting like im not a 'group' user and not allowing me to write to the folder.

All this code worked fine when it was on a shared server.
 
Back
Top