We are experiencing some problems while uploading images, through the admin panel of our website. The thing is folder permission. We cannot keep the folder permission always to 777 due to security reasons, so we need someone to program one of our website so that the php code changes the permission from 755 or any other less permitted type to 777 only when the files are uploaded.
People who are expert knows what I'm speaking about. Attached file shows the files we are using and the codes.
This project needs to be completed in a day or two at the max. Payment through Escrow. Though this is a very small stuff to be worked, we can pay 40$ at the max.
Best of Luck!
10 freelance font une offre moyenne de $44 pour ce travail
there is no need to dynamically change the permissions. you just have to change the owner of the folder to www-data user and keep the permissions to 755 always. there are different owners(the folder owner) and the user Plus
Hi i have done a similar task of changing file permissions dynamically in two projects of my projects, so i know hoe to do this. Please check pmb for more details