• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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